"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-07 21:58:56.649842
"""

```python
from typing import List, Set
from random import choice

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

    def __init__(self, facts: List[str]):
        """
        Initialize the FactChecker with a list of facts.

        :param facts: A list of strings representing factual statements.
        """
        self.facts = set(facts)  # Convert to set for O(1) average-time complexity lookups

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

        :param statement: A string representing a factual statement.
        :return: True if the statement matches any of the stored facts, False otherwise.
        """
        return statement in self.facts

    def add_fact(self, fact: str) -> None:
        """
        Add a new fact to the FactChecker.

        :param fact: A string representing a factual statement.
        """
        self.facts.add(fact)

    def remove_fact(self, fact: str) -> bool:
        """
        Remove an existing fact from the FactChecker if it exists.

        :param fact: A string representing a factual statement.
        :return: True if the fact was successfully removed, False otherwise.
        """
        return self.facts.discard(fact)

    def random_fact(self) -> str:
        """
        Return a random fact from the list of stored facts.

        :return: A string representing a random fact.
        """
        return choice(list(self.facts))

# Example usage
if __name__ == "__main__":
    # Predefined facts
    facts = ["The Earth is round", "Water boils at 100 degrees Celsius"]

    # Create a FactChecker instance with the predefined facts
    checker = FactChecker(facts)

    # Check if a statement is true based on the stored facts
    print(checker.check_fact("The Earth is round"))  # Output: True

    # Add a new fact
    checker.add_fact("Humans have 5 senses")

    # Check again after adding a new fact
    print(checker.check_fact("Humans have 5 senses"))  # Output: True

    # Remove a fact
    checker.remove_fact("The Earth is round")

    # Attempt to check the removed fact
    print(checker.check_fact("The Earth is round"))  # Output: False

    # Get a random fact from the stored facts
    print(checker.random_fact())  # Output: A randomly selected fact from the set of facts
```