Remove empty parameters from the dict

def unused(self, _dict):
        """
        Remove empty parameters from the dict
        """
        for key, value in _dict.items():
            if value is None:
                del _dict[key]
        return _dict