An element has expired if the current time is greater than the ttl

If the current time is greater than the time to live date, the element
has expired from the cache, not if its less than or equal.