"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-07 23:40:48.377599
"""

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


class FactChecker:
    """
    A simple fact-checking class that verifies statements against a predefined knowledge base.
    """

    def __init__(self):
        self.knowledge_base = {
            "Einstein developed the theory of relativity": True,
            "The largest planet in our solar system is Jupiter": True,
            "Paris is the capital of France": True,
            "The Earth has 5 oceans": False,  # Incorrect statement
            "Eden is an AI with phi-fractal architecture": True,
        }

    def check_fact(self, statement: str) -> Tuple[bool, str]:
        """
        Check if a given fact is true or false based on the knowledge base.
        
        :param statement: The statement to be verified.
        :return: A tuple (is_true, rationale), where:
                 - is_true is a boolean indicating whether the fact is correct,
                 - rationale is an explanation for why the fact is considered correct or incorrect.
        """
        if statement in self.knowledge_base:
            return self.knowledge_base[statement], f"{statement} {'is' if self.knowledge_base[statement] else 'is not'} a known accurate fact."
        else:
            return False, "The statement does not exist in the knowledge base."

    def generate_random_fact(self) -> Tuple[str, bool]:
        """
        Generate and check a random fact from the knowledge base.
        
        :return: A tuple (statement, is_true), where:
                 - statement is the randomly chosen statement,
                 - is_true indicates if the statement is true or false based on the knowledge base.
        """
        key = choice(list(self.knowledge_base.keys()))
        return key, self.check_fact(key)[0]


def example_usage():
    fact_checker = FactChecker()
    
    # Check a known fact
    print(fact_checker.check_fact("Paris is the capital of France"))
    
    # Generate and check a random fact
    statement, truth_value = fact_checker.generate_random_fact()
    print(f"Statement: {statement}")
    print(f"Is True: {truth_value}")


if __name__ == "__main__":
    example_usage()
```