setEnabled

abstract fun setEnabled(command_id: Int, enabled: Boolean): Boolean

Change the enabled status of the specified |command_id|. Returns true on success.