code: def _clean_arguments(kwargs):
          
          if not isinstance(kwargs, dict):
              return kwargs
          for k in list(kwargs.keys()):
              if kwargs[k] is None:
                  kwargs.pop(k)
              elif kwargs[k] is False:
                  kwargs[k] = 0
              elif kwargs[k] is True:
                  kwargs[k] = 1
          return kwargs
docs: This is to remove None and clean other arguments
          :param kwargs:
          :return: