code: public static boolean validateMaxExecutionTimeout(Long operationExpiryTimeInMs, long additionalInterval) {
          if (operationExpiryTimeInMs != null) {
              long currentTime = new Date().getTime();
              return operationExpiryTimeInMs < currentTime + additionalInterval;
          }
          return false;
      }
docs: Returns a value representing whether the maximum execution time would be surpassed.
  
  @param operationExpiryTimeInMs
  the time the request expires
  @param additionalInterval
  any additional time required from now
  @return <code>true</code> if the maximum execution time would be surpassed; otherwise, <code>false</code>.