def dict_key_checker(current_dict, current_key):
    """
    Function to check if a dictionary contains a key.
    Parameters:
        current_dict (dict): The dictionary.
        current_key (str): They key.
    Returns:
        True if the dictionary contains the key. False otherwise.
    """
    if current_key in current_dict.keys():
        return True
    else:
        return False