def check_classes(gtype, section):
 try:
  return (sabnzbd.config.get_config(section, ('%s_prio_%s' % (section, gtype)))() > 0)
 except TypeError:
  logging.debug('Incorrect Notify option %s:%s_prio_%s', section, section, gtype)
  return False

def check_classes ( gtype , section ) : try : return ( sabnzbd . config . get_config ( section , ( '%s_prio_%s' % ( section , gtype ) ) ) ( ) > 0 ) except TypeError : logging . debug ( 'Incorrect Notify option %s:%s_prio_%s' , section , section , gtype ) return False
check if gtype is enabled in section .