"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-08 06:17:47.218548
"""

```python
from typing import List, Dict


class FactChecker:
    """
    A simple fact-checking class that verifies if a statement is true based on predefined facts.
    
    Attributes:
        facts (Dict[str, bool]): A dictionary mapping statements to their truth values.
    """

    def __init__(self):
        self.facts = {
            "The Earth orbits the Sun": True,
            "Water boils at 100 degrees Celsius under standard atmospheric pressure": True,
            "2 + 2 equals 4": True
        }

    def check_fact(self, statement: str) -> bool:
        """
        Check if a given statement is true based on the predefined facts.

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

        Returns:
            bool: True if the statement is found to be true in the facts, False otherwise.
        """
        return self.facts.get(statement, False)

    def add_fact(self, statement: str, truth_value: bool) -> None:
        """
        Add a new fact or update an existing one.

        Args:
            statement (str): The statement of the new fact.
            truth_value (bool): The boolean value representing the truth of the statement.
        """
        self.facts[statement] = truth_value


# Example usage
if __name__ == "__main__":
    checker = FactChecker()
    
    # Check existing facts
    print(checker.check_fact("The Earth orbits the Sun"))  # Output: True
    
    # Add a new fact and check again
    checker.add_fact("Pi is exactly 3.14", False)
    print(checker.check_fact("Pi is exactly 3.14"))  # Output: False
```