code: public static boolean isNonWhitespaceControlCharacter(@NonNull ByteBuffer head) {
          boolean hasControlCharacter = false;
  
          while (head.hasRemaining()) {
              hasControlCharacter |= isNonWhitespaceControlCharacter(head.get());
          }
  
          return hasControlCharacter;
      }
docs: Check if the content of a ByteBuffer is binary
  @param head ByteBuffer to check
  @return true if the content is binary (Non-white Control Characters)