fn is_platform_object( obj: *mut JSObject, unwrap_obj: &dyn Fn(*mut JSObject) -> *mut JSObject, ) -> bool