"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-07 11:19:44.953422
"""

```python
from typing import List, Tuple

class FactChecker:
    """
    A class to check factual accuracy of statements based on a predefined knowledge base.
    
    Attributes:
        knowledge_base (List[Tuple[str, bool]]): A list containing tuples where each tuple consists of a statement and its truth value.
        
    Methods:
        add_statement(statement: str, is_true: bool)
            Adds a new statement and its truth value to the knowledge base.

        check_fact(fact: str) -> Tuple[str, bool]
            Checks if a given fact exists in the knowledge base. Returns (fact, truth_value).
    
    Example usage:
        checker = FactChecker()
        checker.add_statement("The Earth is round", True)
        checker.add_statement("Water boils at 100 degrees Celsius", True)
        
        result = checker.check_fact("The Earth is flat")
        print(result)  # Output: ('The Earth is flat', False)
    """
    
    def __init__(self):
        self.knowledge_base = []
        
    def add_statement(self, statement: str, is_true: bool):
        """Add a new fact to the knowledge base."""
        self.knowledge_base.append((statement, is_true))
    
    def check_fact(self, fact: str) -> Tuple[str, bool]:
        """
        Check if the given fact exists in the knowledge base.
        
        Args:
            fact (str): The statement to verify.
            
        Returns:
            Tuple[str, bool]: A tuple containing the original statement and its truth value.
        """
        for item in self.knowledge_base:
            if item[0] == fact:
                return item
        return (fact, False)  # Return false by default if not found


# Example usage
checker = FactChecker()
checker.add_statement("The Earth is round", True)
checker.add_statement("Water boils at 100 degrees Celsius", True)

result = checker.check_fact("The Earth is flat")
print(result)  # Output: ('The Earth is flat', False)
```