private boolean isInstanceRequest(Set<Map<String, Object>> requestProps) {
    return requestProps.size() == 1 &&
        requestProps.iterator().next().get(ARTIFACT_NAME_PROPERTY) != null;
  }
Determine if the request was for an instance resource.

@param requestProps  request properties

@return true if the request was for a specific instance, false otherwise
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ArtifactResourceProvider.java