private bool CanApplyDefaultCost(ObjectFieldDefinition field) { if (field.IsIntrospectionField) { return(false); } IReadOnlyList <DirectiveDefinition> directives = field.GetDirectives(); return(directives is { Count : 0 } || !directives.Any(IsCostDirective));