hvernig á að sannreyna strengi með boolean í python