public function resolveOrganizationName($organizationName, OutputInterface $output)
    {
        if (!$organizationName) {
            $organizationName = $this->rokkaHelper->getDefaultOrganizationName();
        }

        if (!$this->rokkaHelper->validateOrganizationName($organizationName)) {
            $output->writeln($this->formatterHelper->formatBlock([
                'Error!',
                'The organization name "'.$organizationName.'" is not valid!',
            ], 'error', true));

            return false;
        }

        $client = $this->clientProvider->getUserClient();
        if ($this->rokkaHelper->organizationExists($client, $organizationName)) {
            return $organizationName;
        }

        $output->writeln($this->formatterHelper->formatBlock([
            'Error!',
            'The organization "'.$organizationName.'" does not exists!',
        ], 'error', true));

        return false;
    }