[python] How to check if a variable is equal to one string or another string?