"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-07 19:14:59.338149
"""

```python
from typing import List, Dict


class FactChecker:
    """
    A basic fact-checking system that validates statements against known facts.

    Attributes:
        database (Dict[str, bool]): A dictionary storing factual truths where keys are statements and values are boolean.
    """

    def __init__(self):
        self.database = {
            "2 + 2 equals 4": True,
            "Paris is the capital of France": True,
            "Water boils at 100 degrees Celsius at sea level": True,
            "The Earth orbits the Sun": True,
            "Python is a programming language": True
        }

    def check_fact(self, statement: str) -> bool:
        """
        Check if a given statement is factually correct based on the database.

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

        Returns:
            bool: True if the statement is correct, False otherwise.
        """
        return self.database.get(statement.lower(), False)

    def add_fact(self, statement: str, value: bool) -> None:
        """
        Add a new fact to the database.

        Args:
            statement (str): The new factual statement.
            value (bool): The truth value of the statement.
        """
        if isinstance(value, bool):
            self.database[statement.lower()] = value
        else:
            raise ValueError("Value must be a boolean.")


def example_usage():
    fact_checker = FactChecker()
    
    print(f"Is '2 + 2 equals 4' correct? {fact_checker.check_fact('2 + 2 equals 4')}")  # Expected: True
    
    fact_checker.add_fact("Water freezes at -10 degrees Celsius", False)
    print(f"Did we add the new fact correctly? {fact_checker.check_fact('Water freezes at -10 degrees Celsius')}")  # Expected: False


if __name__ == "__main__":
    example_usage()
```