use cgconfig_is_running will be more clear :)