code: @Override
      public boolean isAvailable(CommandContext commandContext) {
          // Available only in disconnected mode
          if (commandContext.isControllerConnected()) {
              commandContext.printLine("The command is not available in the current context. Please disconnnect first");
              return false;
          }
  
          return true;
      }
docs: /*
  (non-Javadoc)
  
  @see org.restcomm.ss7.management.console.CommandHandler#isAvailable(org.mobicents
  .ss7.management.console.CommandContext)