def dict_has_value(dict_, key):
    """Return True if the key is contained in the dict.

    Parameters
    ----------
    dict_: dict
        Dict to check in
    key: str
        Key to check
    """
    return key in dict_
