code: public final boolean isValid(Class < T > javaClass,
              CobolContext cobolContext, byte[] hostData, int start) {
  
          int hostBytesLen = getBytesLen();
  
          // Is buffer large enough to contain this type?
          if (hostData.length < start + hostBytesLen) {
              return false;
          }
  
          // Let specialized classes perform their validation
          if (!isValidInternal(javaClass, cobolContext, hostData, start)) {
              return false;
          }
  
          // If required to check within range, need to convert
          FromHostPrimitiveResult < T > result = fromHostInternal(javaClass,
                  cobolContext, hostData, start);
          return result.isSuccess() && isWithinRange(result.getValue());
  
      }
docs: {@inheritDoc}