docs: def process_output(output, *, condense=False, one=False, default=None,
                     default_if_multiple=True, default_if_none=True):
      """
      Taking a iterative container (list, tuple), this function will process its
      contents and condense if necessary. It also has functionality to try to
      assure that the output has only one item in it if desired. If this is not
      the case, then it will return a 'default' in place of the output, if
      specified.
      """
      if condense:
          output = list(set(output))
  
      if one:
          if len(output) > 1:
              if default and default_if_multiple:
                  output = default
              else:
                  return MULTIPLE
          elif len(output) == 1:
              output = output[0]
          else:
              if default and default_if_none:
                  return default
              else:
                  return NONE
  
      return output