"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-08 04:09:35.520338
"""

```python
from typing import List, Dict


class FactChecker:
    """A simple fact checking system that verifies if a statement is true based on predefined facts.
    
    Attributes:
        facts (Dict[str, bool]): A dictionary storing key-value pairs where keys are statements and values are their truthfulness.

    Methods:
        add_fact: Adds or updates a fact in the system.
        check_fact: Verifies the truth of a given statement.
    """
    
    def __init__(self):
        self.facts = {}
        
    def add_fact(self, statement: str, is_true: bool) -> None:
        """Add or update a fact in the system.

        Args:
            statement (str): The statement to be added or updated.
            is_true (bool): The truth value of the given statement.
        """
        self.facts[statement] = is_true
    
    def check_fact(self, statement: str) -> bool:
        """Check if a fact is true based on the stored facts.

        Args:
            statement (str): The statement to be checked.

        Returns:
            bool: True if the statement is marked as true in the system, False otherwise.
        """
        return self.facts.get(statement, False)


# Example Usage
if __name__ == "__main__":
    checker = FactChecker()
    
    # Adding some facts
    checker.add_fact("The Earth orbits the Sun", True)
    checker.add_fact("2 + 2 equals 5", False)
    
    # Checking facts
    print(checker.check_fact("The Earth orbits the Sun"))  # Output: True
    print(checker.check_fact("2 + 2 equals 4"))           # Output: False (not added, should default to False)
```