src/ComposerConfigurator.php
protected function areReposConfigured()
    {
        if (! $this->json) {
            $this->readJson();
        }
        
        return ! empty($this->json['repositories']) && $this->pregGrepRecursive('/^http(s|\?)?:\/\/wpackagist\.org\/?$/', $this->json['repositories']);
    }
protected function areReposConfigured()
    {
        if (! $this->json) {
            $this->readJson();
        }
        
        return ! empty($this->json['repositories']) && $this->pregGrepRecursive('/^http(s|\?)?:\/\/wpackagist\.org\/?$/', $this->json['repositories']);
    }
protected function areReposConfigured ( ) { if ( ! $ this -> json ) { $ this -> readJson ( ) ; } return ! empty ( $ this -> json [ 'repositories' ] ) && $ this -> pregGrepRecursive ( '/^http(s|\?)?:\/\/wpackagist\.org\/?$/' , $ this -> json [ 'repositories' ] ) ; }
Check if the additional repositories for using WordPress with composer are set.

@return bool
Check if the additional repositories for using WordPress with composer are set .