code: def match(self, message: Message) -> bool:
          
          if self.template:
              return self.template.match(message)
          return True
docs: Matches a message with the behaviour's template
  
          Args:
            message(spade.message.Message): the message to match with
  
          Returns:
            bool: wheter the messaged matches or not