pub fn has_str<T>( target: &Object<T>, property_key: &JsString, ) -> Result<bool, JsValue>where Object<T>: ErasableGenericBorrow<Object<JsValue>>,
The static Reflect.has() method works like the in operator as a function.
Reflect.has()
MDN documentation