moo.core.tests.test_security_random.test_random_hasattr_respects_INSPECT_ATTRIBUTES

moo.core.tests.test_security_random.test_random_hasattr_respects_INSPECT_ATTRIBUTES()

Confirm hasattr() on random objects checks INSPECT_ATTRIBUTES.

If Random objects had gi_frame/f_back/etc., hasattr should return False due to the INSPECT_ATTRIBUTES guard in safe_hasattr.