Python: return true/false from set/del_pluginpref