public function has($key, \DatePeriod $period = null)
    {
        if (is_null($period)) {
            return new Exists($this->repository->has($key));
        }

        return $this->hasForPeriod($key, $period);
    }