docs: def remove_null(obj):
      ''' reads through a list or set and strips any null values'''
      if isinstance(obj, set):
          try:
              obj.remove(None)
          except:
              pass
      elif isinstance(obj, list):
          for item in obj:
              if not is_not_null(item):
                  obj.remove(item)
      return obj