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