<s> class CPState ( object ) : <EOL> DELETED = "<STR_LIT>" <EOL> ACTIVE = "<STR_LIT>" <EOL> OFF = "<STR_LIT:0>" <EOL> ON = "<STR_LIT:1>" <EOL> @ staticmethod <EOL> def is_active ( state ) : <EOL> return ( str ( state ) == CPState . ACTIVE or <EOL> str ( state ) == CPState . ON ) </s>
