code: func (b *Bucket) inlineable() bool {
  	var n = b.rootNode
  
  	// Bucket must only contain a single leaf node.
  	if n == nil || !n.isLeaf {
  		return false
  	}
  
  	// Bucket is not inlineable if it contains subbuckets or if it goes beyond
  	// our threshold for inline bucket size.
  	var size = pageHeaderSize
  	for _, inode := range n.inodes {
  		size += leafPageElementSize + len(inode.key) + len(inode.value)
  
  		if inode.flags&bucketLeafFlag != 0 {
  			return false
  		} else if size > b.maxInlineBucketSize() {
  			return false
  		}
  	}
  
  	return true
  }
docs: // inlineable returns true if a bucket is small enough to be written inline
  // and if it contains no subbuckets. Otherwise returns false.