@Deprecated
  @Experimental(feature= ExperimentalFeature.PATCH_UPGRADES)
  public boolean isLegacy(){
    return isLegacy == 1;
  }
Gets whether this repository is legacy

@return
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RepositoryVersionEntity.java