isAttached(socketId = null) {
    if (this.isAddressable() && (socketId !== null)) {
      if (this.sockets[socketId]) { return true; }
      return false;
    }
    if (this.sockets.length) {
      return true;
    }
    return false;
  }
@param {number|null} socketId
@returns {boolean}