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

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

    if (not pattern):
        pattern = re.escape(self.base_prompt)
    return super(CiscoWlcSSH, self).check_config_mode(check_string, pattern)
