'Return True if login to CCI succeeds, False otherwise.'

def _retry_login(self, ignore_enauth, do_login):

    if (not ignore_enauth):
        if (not do_login):
            result = self._run_raidcom_login(do_raise=False)
        if (do_login or result[0]):
            utils.output_log(MSG.HORCM_LOGIN_FAILED, user=self.conf.vsp_horcm_user)
            return False
    return True
