def is_dict(value):

    if value is None:
        return

    if not isinstance(value, dict):
        return c('dict')
Ensure the given value is a dict.
dataset/ETHPy150Open heiskr/sagefy/server/modules/validations.py/is_dict