"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 01:18:28.570517
"""

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


@dataclass
class Fact:
    statement: str
    source: str
    verified: bool = False


def create_fact_checker(statements: List[str], sources: List[str]) -> callable:
    """
    Creates a fact-checking function that verifies statements against their sources.
    
    :param statements: A list of statements to be checked.
    :param sources: A list of corresponding sources for the statements.
    :return: A function that takes a statement and returns whether it is verified or not.
    
    Example usage:
    >>> check = create_fact_checker(["The moon orbits Earth", "Paris is in France"], 
                                    ["NASA website", "Wikipedia"])
    >>> check("The moon orbits Earth")
    True
    >>> check("Paris is the capital of Germany")
    False
    """
    
    facts = [Fact(statement, source) for statement, source in zip(statements, sources)]
    
    def verify_statement(statement: str) -> bool:
        for fact in facts:
            if fact.statement == statement:
                # For simplicity, we assume all statements are verified as True.
                fact.verified = True
                return fact.verified
        raise ValueError("Statement not found.")
    
    return verify_statement


# Example usage of the function
check = create_fact_checker(["The moon orbits Earth", "Paris is in France"], 
                            ["NASA website", "Wikipedia"])
print(check("The moon orbits Earth"))  # Expected output: True
print(check("Paris is the capital of Germany"))  # Expected to raise ValueError
```