public function check($domain)
    {
        return $this->client
            ->query($domain)
            ->then(function ($result) use ($domain) {
                return Factory::create($domain, $result)->isAvailable();
            });
    }