code: protected boolean hasSpaceFor(int bytes) {
          // Do we have enough lvs spare?
          // (Each LV holds up to 255 bytes, and we're
          //  not allowed more than 255 of them)
          int reqLVs = (int)Math.ceil(bytes / 255.0);
  
          if(numLVs + reqLVs > 255) {
              return false;
          }
          return true;
      }
docs: Does this Page have space for the given
  number of bytes?