"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 06:27:10.124275
"""

```python
from typing import List, Dict


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

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

    def add_fact(self, key: str, value: bool) -> None:
        """
        Add or update a fact to the knowledge base.

        :param key: The statement to be checked (str)
        :param value: The truth value of the statement (bool)
        """
        self.knowledge_base[key] = value

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

        :param key: The statement to be checked (str)
        :return: True if the statement is in the knowledge base and its truth value is True, otherwise False
        """
        return self.knowledge_base.get(key, False)


# Example usage:
if __name__ == "__main__":
    fact_checker = FactChecker()
    
    # Adding facts to the checker
    fact_checker.add_fact("The Earth orbits around the Sun", True)
    fact_checker.add_fact("Pluto is a planet", False)

    # Checking facts
    print(fact_checker.check_fact("The Earth orbits around the Sun"))  # Output: True
    print(fact_checker.check_fact("Pluto is a planet"))               # Output: False

    # Attempt to check an unknown fact
    print(fact_checker.check_fact("Heliocentrism was proposed by Galileo"))  # Output: False (default)
```