"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-07 12:00:55.135578
"""

```python
from typing import List, Dict


class FactChecker:
    """
    A simple fact checker that validates statements against a predefined knowledge base.
    """

    def __init__(self):
        self.knowledge_base: Dict[str, bool] = {
            "The Earth is round": True,
            "Water boils at 100 degrees Celsius": True,
            "Pythagoras theorem applies to right-angled triangles": True,
            "AI can be used for various applications": True
        }

    def check_fact(self, statement: str) -> bool:
        """
        Check if the given statement is true based on the knowledge base.
        
        :param statement: The statement to verify as a string.
        :return: True if the statement is in the knowledge base and considered true; False otherwise.
        """
        return self.knowledge_base.get(statement, False)

    def add_fact(self, statement: str, truth_value: bool) -> None:
        """
        Add or update a fact in the knowledge base.
        
        :param statement: The new or updated statement as a string.
        :param truth_value: A boolean indicating whether the statement is true.
        """
        self.knowledge_base[statement] = truth_value

    def remove_fact(self, statement: str) -> bool:
        """
        Remove a fact from the knowledge base if it exists.
        
        :param statement: The statement to remove as a string.
        :return: True if the statement was found and removed; False otherwise.
        """
        return self.knowledge_base.pop(statement, False) is not False


# Example usage
def main():
    checker = FactChecker()
    print(checker.check_fact("The Earth is round"))  # Output: True

    checker.add_fact("AI can be used in health care", True)
    print(checker.check_fact("AI can be used in health care"))  # Output: True
    
    checker.remove_fact("Pythagoras theorem applies to right-angled triangles")
    print(checker.check_fact("Pythagoras theorem applies to right-angled triangles"))  # Output: False


if __name__ == "__main__":
    main()
```