We should call safe_hasattr, not alias hasattr to it, for clarity.