pub fn has_property(obj: &Value, key: &str) -> Result<bool, String>
key in obj respecting the prototype chain. Reports a Result because a Proxy’s has trap is user code and may throw.
key in obj
Result
has