code: public static boolean isExcluded(Artifact artifact) {
          Set<String> excluded = EXCLUSIONS.get(artifact.getGroupId());
          return excluded != null && excluded.contains(artifact.getArtifactId());
      }
docs: Checks whether the given artifact is on the excluded list.
  
  @param artifact the artifact
  @return {@literal true} if the artifact is excluded, {@literal false} otherwise