"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 04:58:49.001382
"""

```python
from typing import List, Dict


class FactChecker:
    """
    A simple fact-checking system that verifies facts against a predefined knowledge base.
    
    Attributes:
        knowledge_base (Dict[str, bool]): A dictionary mapping statements to their truth values.
    """

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

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

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

        Returns:
            bool: True if the fact is in the knowledge base and marked as true, False otherwise.
        """
        return self.knowledge_base.get(statement, False)

    def update_knowledge(self, new_facts: Dict[str, bool]):
        """
        Update or add facts to the knowledge base.

        Args:
            new_facts (Dict[str, bool]): A dictionary of statements and their truth values to be added.
        """
        self.knowledge_base.update(new_facts)

    def get_all_facts(self) -> List[str]:
        """
        Retrieve all known facts from the knowledge base.

        Returns:
            List[str]: A list of all stored fact statements.
        """
        return list(self.knowledge_base.keys())


# Example usage
if __name__ == "__main__":
    # Initialize the fact checker with some predefined knowledge
    fact_checker = FactChecker({"The Earth is round": True, "2 + 2 equals 4": True})

    # Check a fact
    print(f"Is 'The Earth is round' true? {fact_checker.check_fact('The Earth is round')}")

    # Update the knowledge base with new facts
    fact_checker.update_knowledge({"Earth's largest continent": False, "1 + 1 equals 2": True})

    # Get all known facts and print them
    all_facts = fact_checker.get_all_facts()
    for fact in all_facts:
        print(f"Fact: {fact} is {'true' if fact_checker.check_fact(fact) else 'false'}")

```