code: public static void checkArgument(boolean condition, String errorMessage){
          if(!condition) {
              throw new ApplicationException(ApplicationException.Code.INVALID_INPUT, errorMessage);
          }
      }
docs: Ensures the truth of an condition involving one or more parameters to the calling method.
  
  @param condition a boolean expression
  @param errorMessage The exception message use if the input condition is not valid
  @throws com.netflix.conductor.core.execution.ApplicationException if input condition is not valid