public function check($token, array $options = [])
    {
        $conditions = compact('token');

        foreach (['user_id', 'type'] as $key) {
            $conditions[$key] = array_key_exists($key, $options) ? $options[$key] : null;
        }

        return !$this->find($conditions)->isEmpty();
    }