"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-08 20:48:43.222820
"""

```python
from typing import List, Dict
from collections import defaultdict

class FactChecker:
    """
    A simple fact checker that evaluates statements based on a predefined knowledge base.
    
    This class uses a basic rule-based approach to check if given statements are true or false,
    relying on a dictionary for storing the knowledge base. It is intended as a demonstration and
    lacks sophisticated reasoning capabilities.
    """

    def __init__(self):
        self.knowledge_base: Dict[str, bool] = defaultdict(bool)

    def add_fact(self, statement: str, truth_value: bool) -> None:
        """
        Adds a new fact to the knowledge base.

        :param statement: The statement (string) to be added.
        :param truth_value: The boolean value indicating the truth of the statement.
        """
        self.knowledge_base[statement] = truth_value

    def check_fact(self, statement: str) -> bool:
        """
        Checks if a given statement is true based on the knowledge base.

        :param statement: The statement (string) to be checked.
        :return: True if the statement is in the knowledge base and its value is True,
                 otherwise returns False or raises an error if the statement does not exist.
        """
        return self.knowledge_base[statement]

    def get_all_facts(self) -> Dict[str, bool]:
        """
        Returns a dictionary of all stored facts.

        :return: A dictionary where keys are statements and values are their truth values.
        """
        return dict(self.knowledge_base)

# Example usage
if __name__ == "__main__":
    fact_checker = FactChecker()
    
    # Adding some facts to the knowledge base
    fact_checker.add_fact("The Earth is round", True)
    fact_checker.add_fact("Water boils at 100 degrees Celsius at sea level", True)
    fact_checker.add_fact("2 + 2 equals 5", False)

    # Checking if a statement is true or false
    print(f"Is the Earth round? {fact_checker.check_fact('The Earth is round')}")
    
    # Getting all facts
    all_facts = fact_checker.get_all_facts()
    for fact, truth_value in all_facts.items():
        print(f"{fact}: {truth_value}")
```