"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-08 17:48:27.722994
"""

```python
from typing import List
from dataclasses import dataclass


@dataclass
class Fact:
    statement: str
    is_true: bool = False


def create_fact_checker(statements: List[str]) -> callable:
    """
    Creates a fact checker function that can be used to verify the truth of given statements.

    Args:
        statements (List[str]): A list of statements to check for their validity.

    Returns:
        callable: A function that takes a statement and returns True if it matches any known facts,
                  otherwise False.
    """

    def fact_check(statement: str) -> bool:
        """
        Checks if the given statement is true based on the provided facts.

        Args:
            statement (str): The statement to be checked for truthfulness.

        Returns:
            bool: True if the statement matches any known facts, otherwise False.
        """
        known_facts = [Fact(stmt) for stmt in statements]
        
        # Simple fact checking logic
        for fact in known_facts:
            if statement.lower() == fact.statement.lower():
                fact.is_true = True  # Mark as true if found a match
                return fact.is_true
        
        return False

    return fact_check


# Example usage
if __name__ == "__main__":
    check_function = create_fact_checker(["the sky is blue", "Eden is an AI"])
    
    print(check_function("The sky is blue"))  # Expected output: True
    print(check_function("Eden is not an AI"))  # Expected output: False
```