"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-07 00:39:41.853554
"""

```python
from typing import List, Dict


class FactChecker:
    """
    A class to check facts against a provided database.

    Attributes:
        database (Dict[str, str]): The database containing known facts.
    """

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

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

        Args:
            statement (str): The statement to verify as a fact.

        Returns:
            bool: True if the statement is found in the database, False otherwise.
        """
        return statement.lower() in self.database.keys()

    def list_facts(self) -> List[str]:
        """
        List all facts stored in the database.

        Returns:
            List[str]: A list of all fact statements.
        """
        return [key for key in self.database.keys()]

    def add_fact(self, new_fact: str, value: str):
        """
        Add a new fact to the database.

        Args:
            new_fact (str): The new fact statement to be added.
            value (str): The truth value of the new fact.
        """
        if new_fact not in self.database.keys():
            self.database[new_fact] = value


# Example usage
if __name__ == "__main__":
    # Create a simple database with some known facts
    fact_db: Dict[str, str] = {
        "The Earth is round": "True",
        "Paris is the capital of France": "True",
        "Pluto is a planet": "False"
    }

    # Initialize the FactChecker with the database
    checker = FactChecker(fact_db)

    # Check if certain statements are true facts
    print(checker.check_fact("The Earth is round"))  # Output: True
    print(checker.check_fact("Pluto is a planet"))   # Output: False

    # List all known facts
    print(checker.list_facts())

    # Add a new fact to the database
    checker.add_fact("H2O is water", "True")
    print(f"Updated list of facts: {checker.list_facts()}")
```