code: def can_be_executed_by(self, thread_id):
          '''By default, it must be in the same thread to be executed
          '''
          return self.thread_id == thread_id or self.thread_id.endswith('|' + thread_idf can_be_executed_by(self, thread_id):
          '''By default, it must be in the same thread to be executed
          '''
          return self.thread_id == thread_id or self.thread_id.endswith('|' + thread_id)
docs: By default, it must be in the same thread to be executed