src/Installer/Package/AbstractPackageInstaller.php
protected function askQuestion($messageToAsk)
    {
        $userInput = $this->getIO()->ask($messageToAsk, 'N');

        return $this->isPositiveUserInput($userInput);
    }
protected function askQuestion($messageToAsk)
    {
        $userInput = $this->getIO()->ask($messageToAsk, 'N');

        return $this->isPositiveUserInput($userInput);
    }
Returns true if the human answer to the given question was answered with a positive value (Yes/yes/Y/y).

@param string $messageToAsk

@return bool