I tried running this piece of code:
path = '/bla/bla/bla' if path is True: print "True" else: print "False"
And it prints False. I thought Python treats anything with value as True. Why is this happening?