code: public boolean isValidProfileSize(String profileSize) {
          if (StringUtils.isBlank(profileSize) || profileSizes.isEmpty()) {
              return false;
          }
          return profileSizes.contains(profileSize);
      }
docs: Check that the profile size is valid
  
  @param profileSize
  @return