is_undefined()
Check if obj is undefined (None in Python).
Implementation
Args: obj: The object to check Returns: True if obj is None, False otherwise
Example
is_undefined(None)
Expected output: True
Source Code
def is_undefined(obj: Any) -> bool:
return obj is None