isExpired() method added

besides _checkExpired, checking if the cache time expired by $key is usefull.