protected function hasComposerJson($projectName)
    {
        return is_dir($this->cwd.'/'.$this->projectsDir.'/'.$projectName)
            && file_exists($this->cwd.'/'.$this->projectsDir.'/'.$projectName.'/composer.json');
    }