Function has_symbol

pub fn has_symbol<T>(target: &Object<T>, property_key: &Symbol) -> Result<bool, JsValue>
where
    Object<T>: ErasableGenericBorrow<Object<JsValue>>,

The static Reflect.has() method works like the in operator as a function.

MDN documentation