code: public static void checkNotNullOrEmpty(String input, String errorMessage) {
          try {
              Preconditions.checkArgument(StringUtils.isNotBlank(input), errorMessage);
          } catch (IllegalArgumentException exception) {
              throw new ApplicationException(ApplicationException.Code.INVALID_INPUT, errorMessage);
          }
      }
docs: This method checks it the input string is null or empty.
  
  @param input        input of type {@link String}
  @param errorMessage The exception message use if the string is empty or null
  @throws com.netflix.conductor.core.execution.ApplicationException if input string is not valid