docs: @Override
      public boolean isWorkgroup () throws CIFSException {
          if ( this.type == SmbConstants.TYPE_WORKGROUP || this.url.getHost().length() == 0 ) {
              this.type = SmbConstants.TYPE_WORKGROUP;
              return true;
          }
  
          if ( getShare() == null ) {
              NetbiosAddress addr = getAddress().unwrap(NetbiosAddress.class);
              if ( addr != null ) {
                  int code = addr.getNameType();
                  if ( code == 0x1d || code == 0x1b ) {
                      this.type = SmbConstants.TYPE_WORKGROUP;
                      return true;
                  }
              }
              this.type = SmbConstants.TYPE_SERVER;
          }
          return false;
      }