is_object()
Check if obj is a dictionary.
Implementation
Args: obj: The object to check Returns: True if obj is a dictionary, False otherwise
Example
is_object({'a': 1, 'b': 2})
Expected output: True
Source Code
def is_object(obj: Any) -> bool:
return isinstance(obj, dict)