fn function_calls_named<'hir>( hir: &'hir Hir<'hir>, func: &Function<'hir>, bases: &'hir [ContractId], name: &str, ) -> bool