docs: def spiceFoundExceptionThrower(f):
      """
      Decorator for wrapping functions that use status codes
      """
      @functools.wraps(f)
      def wrapper(*args, **kwargs):
          res = f(*args, **kwargs)
          if config.catch_false_founds:
              found = res[-1]
              if isinstance(found, bool) and not found:
                  raise stypes.SpiceyError("Spice returns not found for function: {}".format(f.__name__), found=found)
              elif hasattr(found, '__iter__') and not all(found):
                  raise stypes.SpiceyError("Spice returns not found in a series of calls for function: {}".format(f.__name__), found=found)
              else:
                  actualres = res[0:-1]
                  if len(actualres) == 1:
                      return actualres[0]
                  else:
                      return actualres
          else:
              return res
  
      return wrapper