"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-07 14:10:14.469016
"""

```python
from typing import List, Dict

class FactChecker:
    """
    A simple fact-checking class that verifies if given statements are true based on a predefined knowledge base.
    
    Attributes:
        knowledge_base (Dict[str, bool]): A dictionary where keys are the statements and values represent their truthiness.
    """

    def __init__(self):
        self.knowledge_base = {
            "2 + 2 equals 4": True,
            "Paris is the capital of France": True,
            "The moon orbits around Earth": True,
            "Albert Einstein was a physicist": True
        }

    def check_fact(self, statement: str) -> bool:
        """
        Check if the given statement is true based on the predefined knowledge base.
        
        Args:
            statement (str): The statement to be checked for truthiness.

        Returns:
            bool: True if the statement is in the knowledge base and marked as true, otherwise False.
        """
        return self.knowledge_base.get(statement, False)

    def add_fact(self, statement: str, truth_value: bool) -> None:
        """
        Add a new fact to the knowledge base.
        
        Args:
            statement (str): The new statement to be added.
            truth_value (bool): The truthiness of the given statement.
        """
        self.knowledge_base[statement] = truth_value

    def remove_fact(self, statement: str) -> None:
        """
        Remove a fact from the knowledge base if it exists.

        Args:
            statement (str): The statement to be removed.
        """
        if statement in self.knowledge_base:
            del self.knowledge_base[statement]


# Example usage
if __name__ == "__main__":
    checker = FactChecker()
    
    # Checking facts
    print(checker.check_fact("2 + 2 equals 4"))  # Output: True
    print(checker.check_fact("The Earth is flat"))  # Output: False
    
    # Adding a new fact
    checker.add_fact("Euler's identity is e^(iπ) + 1 = 0", True)
    print(checker.check_fact("Euler's identity is e^(iπ) + 1 = 0"))  # Output: True
    
    # Removing a fact
    checker.remove_fact("2 + 2 equals 4")
    print(checker.check_fact("2 + 2 equals 4"))  # Output: False
```