Determines whether a specified command is checked. The function retrieves the command using its ID.
If the command is not found, it returns None; otherwise, it returns a Boolean indicating whether the command is checked.
planetcnc.cmd_is_checked(cmd_id)
#! /usr/bin/env python import planetcnc # Check if command with ID 42 is checked. enabled = planetcnc.cmd_is_checked(42) if enabled is None: print("Command not found.") elif enabled: print("Command is checked.") else: print("Command is not checked.")