code: def get_callbacks_from_message(self, msg):
          
          callbacks = []
          for key in self._find_matching_keys(msg):
              for callback in self[key]:
                  callbacks.append(callback)
          return callbacks
docs: Return the callbacks associated with a message template.