public boolean isPartial() {
    return PARTIAL.contains(this);
  }
Gets whether this repository type can be used to upgrade only a subset of
services.

@return {@code true} if the repository can be be applied to a subset of
        isntalled services, {@code false} otherwise.
ambari-server-spi/src/main/java/org/apache/ambari/spi/RepositoryType.java