hasIPinBuffer(scope, index, validate, initial = false) {
    const buf = this.getBuffer(scope, index, initial);
    if (!(buf != null ? buf.length : undefined)) { return false; }
    for (let i = 0; i < buf.length; i += 1) {
      if (validate(buf[i])) { return true; }
    }
    return false;
  }
Fetches a packet from the port
@param {string|null} scope
@param {number|null} index
@param {HasValidationCallback} validate
@param {boolean} [initial]