code: def log(self, *lines):
          
          if getattr(self, "debug", False):
              print(dt.datetime.now().time(), end=' ')
              for line in lines:
                  print(line, end=' ')
              print()
docs: will print out the lines in console if debug is enabled for the
             specific sprite