code: public static boolean isLibertyRepository(RestRepositoryConnection lie, Properties repoProperties) throws InstallException {
          if (isWlpRepoEnabled(repoProperties)) {
              return lie.getRepositoryLocation().startsWith(InstallConstants.REPOSITORY_LIBERTY_URL);
          }
          return false;
      }
docs: Checks if the inputed Repository Connection is a liberty repository
  
  @param lie The RestRepositoryConnection connection
  @param repoProperties The repository properties
  @return True of the repository location is a liberty location
  @throws InstallException