def METHOD_NAME(self, *args: Any, **kwargs: Any) -> str:
    """
    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.
    """
    cur_base_prompt = super().METHOD_NAME(*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
    else:
        return cur_base_prompt