boolean (List<TargetTypeBuildScope> scopes) { for (TargetTypeBuildScope scope : scopes) { if (ArtifactBuildTargetType.INSTANCE.getTypeId().equals(scope.getTypeId())) { return true; } } return false; }