code: private boolean isPayloadTooLong() {
  		try {
  			byte[] bytes = getPayloadAsBytesUnchecked();
  			if (bytes.length > getMaximumPayloadSize()) return true;
  		} catch (Exception e) {
  		}
  		return false;
  	}
docs: Check if the payload exceeds the maximum size allowed.
  The maximum size allowed is returned by the getMaximumPayloadSize() method.
  
  @return true if the payload exceeds the maximum size allowed, false otherwise