docs: def _compact(*args):
      """Returns a new list after removing any non-true values"""
      ret = {}
      if len(args) == 1:
          args = args[0]
          if isinstance(args, ListValue):
              args = args.value
          if isinstance(args, dict):
              for i, item in args.items():
                  if bool(item):
                      ret[i] = item
          elif bool(args):
              ret[0] = args
      else:
          for i, item in enumerate(args):
              if bool(item):
                  ret[i] = item
      return ListValue(ret)