@Experimental(feature = ExperimentalFeature.PATCH_UPGRADES)
  public boolean isScoped(UpgradeScope scope) {
    if (scope == UpgradeScope.ANY) {
      return true;
    }

    switch (m_orchestration) {
      case PATCH:
      case SERVICE:
      case MAINT:
        return scope == UpgradeScope.PARTIAL;
      case STANDARD:
        return scope == UpgradeScope.COMPLETE;
      default:
        break;
    }

    return false;
  }
Gets if a service is supported.

@param serviceName
         the service name to check.
@return {@code true} when the service is supported
ambari-server/src/main/java/org/apache/ambari/server/stack/upgrade/orchestrate/UpgradeContext.java