public boolean isValidId(long chunkId) {
    if (chunkId <= 0) {
      return false;
    }
    long chunkOffset = chunkIdToOffsetUnchecked(chunkId);
    if (!AlignmentUtils.is64bAligned(chunkOffset)) {
      return false;
    }
    return chunkOffset < header.firstUnAllocatedOffset();
  }
public boolean isValidId(long chunkId)