"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-08 13:06:21.016539
"""

```python
from typing import List


class FactChecker:
    """
    A simple fact-checking system that evaluates statements based on a predefined knowledge base.

    Attributes:
        knowledge_base (List[str]): The list of known facts.
    """

    def __init__(self, knowledge_base: List[str]):
        self.knowledge_base = knowledge_base

    def check_statement(self, statement: str) -> bool:
        """
        Check if the given statement is in the knowledge base.

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

        Returns:
            bool: True if the statement is a known fact, False otherwise.
        """
        return statement.lower() in map(str.lower, self.knowledge_base)

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

        Args:
            new_fact (str): The new fact to be added.
        """
        if not self.check_statement(new_fact):
            self.knowledge_base.append(new_fact)


# Example usage
if __name__ == "__main__":
    known_facts = ["Paris is the capital of France", "Eden AI is a virtual assistant"]
    checker = FactChecker(known_facts)

    print(checker.check_statement("Paris is the capital of France"))  # Expected: True
    print(checker.check_statement("Berlin is the capital of Germany"))  # Expected: False

    new_fact = "Python is a programming language"
    checker.add_fact(new_fact)
    print(checker.check_statement("Python is a programming language"))  # Expected: True
```