"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-07 03:57:03.086886
"""

```python
from typing import List


class FactChecker:
    """
    A basic fact-checking system that verifies if a statement is true or false.
    This capability uses simple rules to determine the validity of statements,
    which may be limited in sophistication.

    Args:
        facts (List[str]): A list of known truths.
    
    Attributes:
        facts (List[str]): The provided list of known truths.
    """

    def __init__(self, facts: List[str]):
        self.facts = set(facts)  # Convert to a set for O(1) lookups

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

        Args:
            statement (str): The statement to be checked.
        
        Returns:
            bool: True if the statement is considered a fact, False otherwise.
        """
        return statement in self.facts

    def add_fact(self, new_fact: str) -> None:
        """
        Add a new fact to the system.

        Args:
            new_fact (str): The new fact to be added.
        """
        self.facts.add(new_fact)

    def remove_fact(self, old_fact: str) -> bool:
        """
        Remove an existing fact from the system if it exists.

        Args:
            old_fact (str): The fact to be removed.

        Returns:
            bool: True if the fact was successfully removed, False otherwise.
        """
        return self.facts.discard(old_fact)


# Example usage
if __name__ == "__main__":
    known_facts = ["The Earth is round", "Water boils at 100 degrees Celsius"]
    checker = FactChecker(known_facts)
    
    print(checker.check_statement("The Moon is made of cheese"))  # Output: False
    print(checker.check_statement("The Earth is round"))         # Output: True
    
    checker.add_fact("Plants perform photosynthesis")
    print(checker.check_statement("Plants perform photosynthesis"))  # Output: True
    
    checker.remove_fact("Water boils at 100 degrees Celsius")
    print(checker.check_statement("Water boils at 100 degrees Celsius"))  # Output: False
```