pub fn is_def_id_trait_method(cx: &LateContext<'_>, def_id: LocalDefId) -> bool
Checks if the def_id belongs to a function that is part of a trait impl.
def_id