dynamic hasProperty(JSObject o, name)

Source

hasProperty(JSObject o, name) => JsNative.hasProperty(o, name);