"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-08 20:32:00.159656
"""

```python
from typing import List, Dict

class KnowledgeBase:
    def __init__(self):
        self.knowledge = {}

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

        :param fact: A string representing the fact.
        """
        if fact not in self.knowledge:
            self.knowledge[fact] = [True]
        else:
            self.knowledge[fact].append(True)

    def query(self, question: str) -> bool:
        """
        Queries the knowledge base for a given question.

        :param question: A string representing the question.
        :return: True if the question is answered by an existing fact, False otherwise.
        """
        return question in self.knowledge


class ReasoningEngine:
    def __init__(self):
        self.kb = KnowledgeBase()

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

        :param fact: A string representing the fact.
        """
        self.kb.add_fact(fact)

    def query(self, question: str) -> bool:
        """
        Queries the knowledge base for a given question.

        :param question: A string representing the question.
        :return: True if the question is answered by an existing fact, False otherwise.
        """
        return self.kb.query(question)

def example_usage():
    engine = ReasoningEngine()
    engine.add_fact("It is raining outside")
    print(engine.query("Is it raining?"))  # Should output: True

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

This code defines a `ReasoningEngine` class that uses a simple knowledge base to store facts and answer queries. It includes an example usage function to demonstrate how the engine can be used.