`x == True` is always superfluous. In virtually all cases, you want simply `x`.