<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def subscribe_to_event(self, event_name, timeout, event_filter, callback=False, timeout_callback=None, args=None, wait=False):
 """ Create a listener for the event choose. :param event_name: name of the event to subscribe, str :param timeout: :param event_filter: :param callback: :param timeout_callback: :param args: :param wait: if true block the listener until get the event, bool :return: """

        from squid_py.keeper.event_listener import EventListener
        return EventListener(
            self.CONTRACT_NAME,
            event_name,
            args,
            filters=event_filter
        ).listen_once(
            callback,
            timeout_callback=timeout_callback,
            timeout=timeout,
            blocking=wait
        )