docs: def check_config_mode(self, check_string="config", pattern="#"):
          """ Checks if the device is in configuration mode or not. """
          return super(AlcatelSrosSSH, self).check_config_mode(
              check_string=check_string, pattern=pattern
          )