code: private boolean isLong(final String str) {
  		try {
  			Long.valueOf(str);
  			return true;
  		} catch (NumberFormatException e) {
  			return false;
  		}
  	}
docs: Checks if given string is long.
  
  @param str {@link String}
  @return true if it is long or false otherwise