protected function areReposConfigured()
    {
        if (! $this->json) {
            $this->readJson();
        }
        
        return ! empty($this->json['repositories']) && $this->pregGrepRecursive('/^http(s|\?)?:\/\/wpackagist\.org\/?$/', $this->json['repositories']);
    }