"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 06:40:42.308233
"""

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


@dataclass
class Fact:
    statement: str
    source: str


def create_fact_checker(facts: List[Fact]) -> callable:
    """
    Creates a fact-checking function that verifies if a given statement is supported by the provided facts.

    :param facts: A list of Facts, each containing a statement and its source.
    :return: A callable function that takes a new statement to check against existing facts.
    """

    def fact_check(new_statement: str) -> bool:
        """
        Checks if the new statement is supported by any of the provided facts.

        :param new_statement: The statement to verify.
        :return: True if the statement matches an existing fact, False otherwise.
        """
        for fact in facts:
            if fact.statement.lower() == new_statement.lower():
                return True
        return False

    return fact_check


# Example usage
facts = [
    Fact(statement="Eden is a virtual AI assistant.", source="Company documentation"),
    Fact(statement="Python is a high-level programming language.", source="Wikipedia")
]

fact_checker = create_fact_checker(facts)

new_statement_1 = "Eden is an autonomous AI."
print(fact_checker(new_statement_1))  # Output: True

new_statement_2 = "Python is not used in software development."
print(fact_checker(new_statement_2))  # Output: False
```