code: public static boolean artifactIsNotExcluded(Collection<Exclusion> exclusions, Artifact artifact) {
          return Optional.ofNullable(exclusions).orElse(Collections.emptyList())
                  .stream().noneMatch(selectedExclusion ->
                          null != artifact && selectedExclusion.getGroupId().equals(artifact.getGroupId()) &&
                                  (selectedExclusion.getArtifactId().equals(artifact.getArtifactId()) || (selectedExclusion.getArtifactId().equals(ARTIFACT_STAR)))
                  );
      }
docs: Check that an artifact is not excluded
  
  @param exclusions Collection of exclusions
  @param artifact   Specific artifact to search through collection for
  @return boolean