if not config.ParentalControl.configured.value or not config.ParentalControl.servicepinactive.value:
return True
#print "whitelist:", self.whitelist
#print "blacklist:", self.blacklist
#print "config.ParentalControl.type.value:", config.ParentalControl.type.value
#print "not in whitelist:", (service not in self.whitelist)
if not config.ParentalControl.configured.value or not config.ParentalControl.servicepinactive.value:
return True
#print "whitelist:", self.whitelist
#print "blacklist:", self.blacklist
#print "config.ParentalControl.type.value:", config.ParentalControl.type.value
#print "not in whitelist:", (service not in self.whitelist)