public function has($name)
    {
        if (!array_key_exists($name, $this->data)) {
            return false;
        }

        if (0 === $this->data[$name]['lifeTime']) {
            return true;
        }

        return $this->data[$name]['lifeTime'] > time();
    }
public function has($name)
    {
        if (!array_key_exists($name, $this->data)) {
            return false;
        }

        if (0 === $this->data[$name]['lifeTime']) {
            return true;
        }

        return $this->data[$name]['lifeTime'] > time();
    }
{@inheritdoc}