"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-07 03:18:33.026678
"""

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

@dataclass
class Fact:
    statement: str
    source: str

def create_fact_checker(facts: List[Fact]) -> Callable[[str], bool]:
    """
    Creates a fact-checking function that checks if a given statement is found in the provided facts.

    Args:
        facts (List[Fact]): A list of Fact objects containing statements and their sources.

    Returns:
        Callable[[str], bool]: A function that takes a statement as input and returns True if it matches any known fact, False otherwise.
    """
    def check(statement: str) -> bool:
        for fact in facts:
            if statement.lower() in fact.statement.lower():
                print(f"Fact found: {fact.statement} - Source: {fact.source}")
                return True
        return False

    return check


# Example usage:

if __name__ == "__main__":
    # Create some sample facts
    facts = [
        Fact("The Eiffel Tower is in Paris", "Wikipedia"),
        Fact("Python is a programming language", "Stack Overflow"),
        Fact("Eden AI is an autonomous business", "Official Statement")
    ]

    # Create the fact-checking function
    check_fact = create_fact_checker(facts)

    # Test some statements
    print(check_fact("Eiffel Tower"))  # Should return True, as it contains a part of a known fact
    print(check_fact("Python programming language"))  # Should return True
    print(check_fact("Business statement from Eden AI"))  # Should return False, no exact match found
```