Files
wraith-executioner-year-2-c…/utils/context.py
T
2026-06-02 18:56:16 +09:00

7 lines
205 B
Python

"""rgthree CONTEXT 型の判定。"""
def is_context_empty(ctx) -> bool:
"""辞書の値がすべて None なら空とみなします。"""
return not ctx or all(v is None for v in ctx.values())