'Checks if the device is in configuration mode or not.'

def check_config_mode(self, check_string=u'config', pattern=u'#'):

    return super(AlcatelSrosSSH, self).check_config_mode(check_string=check_string, pattern=pattern)
