code: def set_base_prompt(self, *args, **kwargs):
          
          cur_base_prompt = super(CiscoAsaSSH, self).set_base_prompt(*args, **kwargs)
          match = re.search(r"(.*)\(conf.*", cur_base_prompt)
          if match:
              # strip off (conf.* from base_prompt
              self.base_prompt = match.group(1)
              return self.base_prompt
docs: Cisco ASA in multi-context mode needs to have the base prompt updated
          (if you switch contexts i.e. 'changeto')
  
          This switch of ASA contexts can occur in configuration mode. If this
          happens the trailing '(config*' needs stripped off.