použití boolean ke zpracování řetězců v pythonu