ako overiť reťazce pomocou boolean v pythone