pub unsafe fn object_has_flag_any( obj: *const Object, f: ObjectFlag, ) -> Result<bool>
This function is unsafe because it may dereference raw pointers.