from typing import Any
from typing import Mapping


def is_mapping(obj: Any) -> bool:
    """Just a shorthand for instancecheck on :py:class:`typing.Mapping`.
    """
    return isinstance(obj, Mapping)