This function checks whether the script code functionality is available.
planetcnc.is_code_enabled()
#! /usr/bin/env python import planetcnc if planetcnc.is_code_enabled(): print("Command is enabled and available.") else: print("Command is not enabled and not available.")