protected function _profileExists() {
        $homeDir = trim(`echo \$HOME`);
        $config = file_get_contents($homeDir . DIRECTORY_SEPARATOR . self::AWS_CONFIG_LOCATION);
        return strpos($config, "[profile {$this->_profile}]") !== false;
    }