def METHOD_NAME(obj: Any, params: List[str]) -> bool:
    assert len(params) <= 1
    if obj is None:
        return True
    if params:
        return _validate_object(obj, params[0])
    return True