def METHOD_NAME(node_uid: str) -> str:
    try:
        uid = uuid.UUID(node_uid)
        if node_uid == str(uid):
            return str(uid)
    except Exception:
        pass
    raise Exception(f"{NODE_PRIVATE_KEY} is invalid")