pub fn interface_declares_any_method<'d, F>( interface_ty: &Type, lookup: F, ) -> boolwhere F: Copy + Fn(&str) -> Option<&'d Definition>,
Whether an interface or any of its parents declares a method.