docs: public static int getPackedPositionType(final long packedPosition) {
          if (packedPosition == PACKED_POSITION_VALUE_NULL) {
              return PACKED_POSITION_TYPE_NULL;
          }
  
          return (packedPosition & PACKED_POSITION_MASK_TYPE) == PACKED_POSITION_MASK_TYPE ?
                  PACKED_POSITION_TYPE_CHILD : PACKED_POSITION_TYPE_GROUP;
      }