code: def get_all_links_in_chain(self):
          
          if self.is_decision() and self.get_link(self.task_id):
              return self.links
          return [self] + self.links
docs: Return all links in the chain of trust, including the target task.
  
          By default, we're checking a task and all its dependencies back to the
          tree, so the full chain is ``self.links`` + ``self``. However, we also
          support checking the decision task itself. In that case, we populate
          the decision task as a link in ``self.links``, and we don't need to add
          another check for ``self``.
  
          Returns:
              list: of all ``LinkOfTrust``s to verify.