public function organizationExists(User $client, $organizationName)
    {
        try {
            $org = $client->getOrganization($organizationName);

            return $org->getName() == $organizationName;
        } catch (ClientException $e) {
            if (404 === $e->getCode()) {
                return false;
            }

            throw $e;
        }
    }