"""
Program: dict_membership.py
Author: Paul Ford
Last date modified: 06/22/2020
Purpose: using dictionaries for the first time
"""


def in_dict(dictionary, data):
    """
    accept a set and return a boolean value
    stating if the element is in the dictionary
    :param dictionary: The given dictionary to search
    :param data: The data searching in the dictionary
    :return: A boolean if the data is in the dictionary
    """
    return data in dictionary


if __name__ == '__main__':
    pass
