Update condition for timestamp

We need to test boolean only :

>>> key="timestamp"
>>> value="123456"
>>>
>>> if key == "timestamp" and value:
...     print "Value <> True but, still true"
... else:
...     print "value <> True and false"
...
Value <> True but, still true