This seems like it could break backwards compatibility, since there may be situations where the returned value is checked against `False`. Additionally, to maintain backwards compatibility, should be: `if not isinstance(kv_dict, dict) or len(kv_dict) < 1`