def METHOD_NAME(domstate):
    if domstate in ["offline", "shutoff", "shut off"]:
        return "shutoff"
    elif domstate in ["online", "running"]:
        return "running"
    elif domstate in ["paused"]:
        return "paused"
    else:
        return domstate