def IsRunning(name: str):
    """
    Returns True if the specified macro name is currently running
    :param name:  Macro name.
    """
    pass


def PlayMacro(name: str):
    """
    Plays the given macro name.
    :param name:  Macro name.
    """
    pass


def Replay():
    """
    Replay the current macro
    """
    pass


def Stop(name: str):
    """
    Stops the current macro.
    :param name:  Macro name. (Optional)
    """
    pass


def StopAll():
    """
    Stops all running macros including background macros.
    """
    pass
