docs: def intty(cls):
          """ Check if we are in a tty. """
          # XXX: temporary hack until we can detect if we are in a pipe or not
          return True
  
          if hasattr(sys.stdout, 'isatty') and sys.stdout.isatty():
              return True
  
          return False