"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 10:11:30.175412
"""

```python
from typing import List
from functools import partial


class FactChecker:
    """
    A class that provides basic fact-checking capabilities based on predefined rules.
    """

    def __init__(self, facts: List[str]):
        self.facts = set(facts)

    def check_fact(self, statement: str) -> bool:
        """
        Checks if a given statement is in the list of known facts.

        :param statement: The statement to verify as fact.
        :return: True if the statement is a fact, False otherwise.
        """
        return statement in self.facts

    def add_fact(self, new_fact: str) -> None:
        """
        Adds a new fact to the knowledge base.

        :param new_fact: A new fact to be added.
        """
        self.facts.add(new_fact)

    def remove_fact(self, old_fact: str) -> bool:
        """
        Removes an existing fact from the knowledge base if it exists.

        :param old_fact: An existing fact to be removed.
        :return: True if the fact was successfully removed, False otherwise.
        """
        return self.facts.discard(old_fact)

    def check_statements(self, statements: List[str]) -> List[bool]:
        """
        Checks multiple statements against known facts.

        :param statements: A list of statements to verify as facts.
        :return: A list of booleans indicating the validity of each statement.
        """
        return [self.check_fact(statement) for statement in statements]


# Example usage
if __name__ == "__main__":
    # Define some known facts
    known_facts = ["Python is a programming language", "AI can learn from data"]
    
    # Create a FactChecker instance with the known facts
    fact_checker = FactChecker(known_facts)

    # Check individual statements for validity
    print(fact_checker.check_fact("Python was developed in 1990"))  # False
    print(fact_checker.check_fact("AI can learn from data"))       # True

    # Add a new fact
    fact_checker.add_fact("Artificial intelligence requires large datasets")

    # Check if the new fact is recognized
    print(fact_checker.check_fact("Artificial intelligence requires large datasets"))  # True

    # Remove an existing fact
    removed = fact_checker.remove_fact("AI can learn from data")
    print(removed)  # True
    
    # Check a list of statements
    statements_to_check = ["Python is used for web development", "AI is a subset of computer science"]
    results = fact_checker.check_statements(statements_to_check)
    print(results)  # [True, True]
```