"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 00:47:14.348380
"""

```python
from typing import List, Dict

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

    def __init__(self, facts: Dict[str, bool]):
        """
        Initialize the FactChecker with a dictionary of key-value pairs where keys are statements
        and values are their truthiness (True or False).

        :param facts: A dictionary containing statement-truthness pairs.
        """
        self.facts = facts

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

        :param statement: The statement to be checked.
        :return: True if the statement is in the facts and its truthiness is True, False otherwise.
        """
        return self.facts.get(statement, False)

    def check_multiple_facts(self, statements: List[str]) -> Dict[str, bool]:
        """
        Check multiple statements and return a dictionary of results.

        :param statements: A list of statements to be checked.
        :return: A dictionary where keys are the statements and values are their truthiness.
        """
        return {stmt: self.facts.get(stmt, False) for stmt in statements}

# Example usage
if __name__ == "__main__":
    # Predefined knowledge base
    facts = {
        "The Earth is round": True,
        "Paris is the capital of France": True,
        "Jupiter has rings": True,
        "The Sun revolves around Earth": False,
        "AI can learn from data": True
    }

    fact_checker = FactChecker(facts)

    # Check a single fact
    print("Is 'The Earth is round' true?", fact_checker.check_fact("The Earth is round"))

    # Check multiple facts
    statements = ["Paris has the Eiffel Tower", "Jupiter has moons", "AI can predict future events"]
    results = fact_checker.check_multiple_facts(statements)
    for statement, result in results.items():
        print(f"Is '{statement}' true? {'Yes' if result else 'No'}")
```