code: func (r *AllocationBitmap) Has(offset int) bool {
  	r.lock.Lock()
  	defer r.lock.Unlock()
  
  	return r.allocated.Bit(offset) == 1
  }
docs: // Has returns true if the provided item is already allocated and a call
  // to Allocate(offset) would fail.