code: def get_or_create(cls, issue, header, text=None):
          
          for comment in get_comments(issue):
              try:
                  if comment.body.splitlines()[0] == header:
                      obj = cls(comment, header)
                      break
              except IndexError: # The comment body is empty
                  pass
          # Hooooooo, no dashboard comment, let's create one
          else:
              comment = create_comment(issue, header)
              obj = cls(comment, header)
          if text:
              obj.edit(text)
          return obj
docs: Get or create the dashboard comment in this issue.