"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 05:04:30.999788
"""

```python
from typing import List, Union


class FactChecker:
    """
    A simple fact-checking system that verifies the truthfulness of statements based on a predefined set of facts.
    """

    def __init__(self):
        self.knowledge_base: dict = {}

    def add_facts(self, facts: dict) -> None:
        """
        Add facts to the knowledge base.

        :param facts: A dictionary where keys are fact names and values are their truthfulness (True/False).
        """
        self.knowledge_base.update(facts)

    def check_fact(self, statement: str) -> bool:
        """
        Check if a given statement is in the knowledge base and determine its truthfulness.

        :param statement: The name of the fact to be checked.
        :return: True if the fact is found and considered true; False otherwise.
        """
        return self.knowledge_base.get(statement, False)

    def verify_statements(self, statements: List[str]) -> List[Union[str, bool]]:
        """
        Verify multiple statements in one go.

        :param statements: A list of statement names to be checked.
        :return: A list where each element is a tuple containing the statement and its truthfulness (True/False).
        """
        return [(statement, self.check_fact(statement)) for statement in statements]


# Example usage
if __name__ == "__main__":
    checker = FactChecker()
    # Add some facts to our knowledge base
    checker.add_facts({
        "is_it_raining": False,
        "eagle_can_fly": True,
        "cat_can_climb_trees": True,
    })

    # Check individual facts
    print(checker.check_fact("is_it_raining"))  # Output: False

    # Verify multiple statements at once
    results = checker.verify_statements(["is_it_raining", "eagle_can_fly", "bird_can_swim"])
    for statement, truth in results:
        print(f"{statement}: {truth}")
```