"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 10:55:20.688880
"""

```python
from typing import List, Optional


class FactChecker:
    """
    A simple fact-checking system that verifies if a statement is true based on predefined facts.
    """

    def __init__(self, facts: List[str]):
        """
        Initialize the FactChecker with a list of predefined facts.

        :param facts: List of string facts to be used for verification
        """
        self.facts = {fact.lower(): True for fact in facts}

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

        :param statement: The statement to verify as a string.
        :return: True if the statement matches any of the known facts, False otherwise. Returns None for unknown statements.
        """
        lower_statement = statement.lower()
        return self.facts.get(lower_statement)


# Example Usage
def main():
    # Define some facts about the world
    facts = ["einstein invented the atomic bomb", "python is a programming language"]
    
    # Create an instance of FactChecker with these facts
    fact_checker = FactChecker(facts)

    # Test statements to verify
    test_statements = [
        "Einstein invented the atomic bomb.",
        "Python is a programming language.",
        "Albert Einstein discovered general relativity.",
        "Java is better than Python."
    ]

    for statement in test_statements:
        result = fact_checker.check_statement(statement)
        if result is None:
            print(f"Statement: {statement} - Unknown.")
        elif result:
            print(f"Statement: {statement} - True.")
        else:
            print(f"Statement: {statement} - False.")


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

This code creates a `FactChecker` class with an initialization method to set up known facts, and a `check_statement` method that checks the truth of a given statement based on these facts. The example usage demonstrates how to use this class to verify statements against predefined knowledge.