protected function shouldLoadNewPackage()
{
if (!file_exists('composer.json')) {
return false;
} else {
if (!file_exists('studio.json')) {
return $this->io->confirm('Do you want to load this package in the surrounding Composer package using Studio?', true);
} else {
return true;
}
}
}