code: def remove_output(clean=False, **kwargs):
      
      if not clean:
          return False
  
      found = False
      cwd = os.getcwd()
  
      for file in os.listdir(cwd):
          if file.endswith('_eig.txt') or \
                  file.endswith('_out.txt') or \
                  file.endswith('_out.lst') or \
                  file.endswith('_out.dat') or \
                  file.endswith('_prof.txt'):
              found = True
              try:
                  os.remove(file)
                  logger.info('<{:s}> removed.'.format(file))
              except IOError:
                  logger.error('Error removing file <{:s}>.'.format(file))
      if not found:
          logger.info('no output found in the working directory.')
  
      return True
docs: Remove the outputs generated by Andes, including power flow reports
      ``_out.txt``, time-domain list ``_out.lst`` and data ``_out.dat``,
      eigenvalue analysis report ``_eig.txt``.
  
      Parameters
      ----------
      clean : bool
          If ``True``, execute the function body. Returns otherwise.
  
      kwargs : dict
          Other keyword arguments
  
      Returns
      -------
      bool
          ``True`` is the function body executes with success. ``False``
          otherwise.