Fixed str.startswith to work with tuple instead of generator