def METHOD_NAME(self, prompt: str) -> bool:
    """
    The asterix (*) next to the mode name indicates that the candidate configuration
    has changes that have not yet been committed.
    The plus sign (+) in the prompt indicates that the running configuration differs
    from the startup configuration. After you enter the save startup command,
    the running configuration is synchronized with the startup configuration,
    and the plus sign is removed from the prompt.
    The exclamation mark (!) in the prompt indicates that another user has commited
    changes to the running datastore.
    """
    matches = re.search(r"\n--{( | \* | \+ | \+\* | \!\+ | \!\* )candidate", prompt)
    return True if matches and "*" in matches.group() else False