"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-07 20:18:42.738630
"""

```python
from typing import List, Dict


def create_fact_checker(statements: List[str], known_facts: Dict[str, bool]) -> bool:
    """
    Checks the truthfulness of statements based on provided facts.

    Args:
        statements (List[str]): A list of statements to be verified.
        known_facts (Dict[str, bool]): A dictionary containing known facts where keys are strings and values are booleans.

    Returns:
        bool: True if all statements can be verified as true or false using the known facts. False otherwise.
    """
    
    fact_checker = FactChecker(known_facts)
    
    for statement in statements:
        try:
            result = fact_checker.check(statement)
            print(f"Statement '{statement}' is {'true' if result else 'false'} based on available facts.")
        except ValueError as e:
            print(e)
            return False
    
    return True


class FactChecker:
    def __init__(self, known_facts: Dict[str, bool]):
        self.known_facts = known_facts

    def check(self, statement: str) -> bool:
        """
        Checks the truthfulness of a single statement.

        Args:
            statement (str): The statement to be verified.

        Returns:
            bool: True if the statement can be directly checked against known facts. False otherwise.
        """
        tokens = statement.split()
        
        # Simple logic to check for direct fact match
        if all(token in self.known_facts for token in tokens):
            return any(self.known_facts[token] for token in tokens)
        else:
            raise ValueError("Insufficient facts to verify the statement.")


# Example usage
if __name__ == "__main__":
    known_facts = {
        "The sky is blue": True,
        "Grass is green": True,
        "Apples are fruits": True
    }
    
    statements_to_check = [
        "The sky and grass are beautiful",
        "Apples are good for health",
        "Water is not a liquid"
    ]
    
    result = create_fact_checker(statements_to_check, known_facts)
    print(f"All statements verified: {result}")
```

This code defines a `FactChecker` class that verifies simple logical statements based on provided facts. The `create_fact_checker` function uses this class to check multiple statements and outputs the results or errors if it cannot verify a statement due to insufficient facts.