Refactory yesno Savant plugin to convert text flags to bool