"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-08 08:31:01.021637
"""

```python
from typing import List, Dict


class FactChecker:
    """
    A basic fact-checking system that verifies statements based on predefined knowledge.
    """

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

    def check_fact(self, statement: str) -> bool:
        """
        Check if a given statement is true or false based on the knowledge base.

        :param statement: A string representing the fact to be checked.
        :return: True if the statement is true in the knowledge base, False otherwise.
        """
        return self.knowledge_base.get(statement.lower(), False)

    def check_facts(self, statements: List[str]) -> Dict[str, bool]:
        """
        Check multiple facts and return a dictionary with each fact's verification status.

        :param statements: A list of strings representing the facts to be checked.
        :return: A dictionary where keys are the statements and values are their truth statuses.
        """
        results = {}
        for statement in statements:
            results[statement] = self.check_fact(statement)
        return results


# Example usage
if __name__ == "__main__":
    # Define a knowledge base of facts
    knowledge_base = {
        "the earth is round": True,
        "pyramids were built by aliens": False,
        "cats are better pets than dogs": None  # This can be considered unknown
    }

    # Initialize the fact checker with the given knowledge base
    fact_checker = FactChecker(knowledge_base)

    # Check a single statement
    print(fact_checker.check_fact("the earth is round"))  # Output: True

    # Check multiple statements and get results as a dictionary
    statements_to_check = ["the earth is flat", "pyramids were built by ancient Egyptians", 
                           "cats are better pets than dogs"]
    results = fact_checker.check_facts(statements_to_check)
    for statement, result in results.items():
        print(f"{statement} -> {result}")
```

This code snippet demonstrates a simple fact-checking system that can verify the truth of statements based on a predefined knowledge base. It includes methods to check individual facts and multiple facts simultaneously, with an example usage section provided at the end.