"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-08 18:26:23.950092
"""

```python
from typing import List, Dict, Any

class FactChecker:
    """
    A simple fact-checking system that verifies statements against a predefined knowledge base.
    """

    def __init__(self, knowledge_base: Dict[str, bool]):
        """
        Initialize the fact checker with a knowledge base.

        :param knowledge_base: A dictionary mapping statements to their truth values (True or False).
        """
        self.knowledge_base = knowledge_base

    def check_fact(self, statement: str) -> bool:
        """
        Check if a given statement is true according to the knowledge base.

        :param statement: The statement to be checked.
        :return: True if the statement is in the knowledge base and marked as True, False otherwise.
        """
        return self.knowledge_base.get(statement, False)

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

        :param statement: The statement to be added.
        :param truth_value: The truth value of the statement (True or False).
        """
        self.knowledge_base[statement] = truth_value

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

        :param statement: The statement to be removed.
        """
        if statement in self.knowledge_base:
            del self.knowledge_base[statement]

def example_usage():
    """
    Example usage of FactChecker.
    """
    # Create a simple knowledge base
    knowledge_base = {
        "The Earth is round": True,
        "Python is easy to learn": True,
        "2 + 2 equals 5": False
    }
    
    # Initialize the fact checker with the knowledge base
    fact_checker = FactChecker(knowledge_base)
    
    # Check facts
    print(fact_checker.check_fact("The Earth is round"))  # Output: True
    print(fact_checker.check_fact("2 + 2 equals 5"))      # Output: False
    
    # Add a new fact
    fact_checker.add_fact("AI can understand natural language", True)
    
    # Remove a fact
    fact_checker.remove_fact("Python is easy to learn")
    
    # Check the updated facts
    print(fact_checker.check_fact("AI can understand natural language"))  # Output: True

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

This code defines a `FactChecker` class that allows adding, checking, and removing statements with their truth values from a knowledge base. The example usage demonstrates how to use the `FactChecker` class to manage a simple fact-checking system.