private function isExpired(array $item) : bool
    {
        return isset($item[static::EXPIRATION_FIELD]) &&
            $item[self::EXPIRATION_FIELD] !== null &&
            $item[self::EXPIRATION_FIELD] < time();
    }
private function isExpired(array $item) : bool
    {
        return isset($item[static::EXPIRATION_FIELD]) &&
            $item[self::EXPIRATION_FIELD] !== null &&
            $item[self::EXPIRATION_FIELD] < time();
    }
private function isExpired ( array $ item ) : bool { return isset ( $ item [ static :: EXPIRATION_FIELD ] ) && $ item [ self :: EXPIRATION_FIELD ] !== null && $ item [ self :: EXPIRATION_FIELD ] < time ( ) ; }
Check if the item is expired.

@param array $item
Check if the item is expired .