code: def warn(self, collection):
          
          if not self.has_docstring():
              collection.append("WARNING: no docstring on code element {}".format(self.name))
docs: Checks this code element for documentation related problems.