pub fn is_method(obj: Value) -> bool