def METHOD_NAME(self) -> bool:
    """
    The module should stop on the following 2 conditions
    1. no new msgs are received in any of the channels the module is subscribed to
    2. the termination event is set by the process_manager.py
    """
    if self.msg_received or not self.termination_event.is_set():
        # this module is still receiving msgs,
        # don't stop
        return False
    return True