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