code: public boolean isAllowedCommand(final Connection connection, final String cmd) throws DevFailed {
  	final Database db = ApiUtil.get_db_obj(connection.url.host, connection.url.strPort);
  	    return db.isCommandAllowed(connection.get_class_name(), cmd);
      }
docs: ==========================================================================