def _sysv_is_disabled(name):
 return (not bool(glob.glob('/etc/rc{0}.d/S*{1}'.format(_runlevel(), name))))

def _sysv_is_disabled ( name ) : return ( not bool ( glob . glob ( '/etc/rc{0}.d/S*{1}' . format ( _runlevel ( ) , name ) ) ) )
a system-v style service is assumed disabled if there is no start-up link to its script in /etc/init .