def _keys_by_value(dictionary, value):
    """ Finds all keys corresponding to the given value in a dictionary

    Args:
        dictionary ():
        value ():

    Returns:
        list: list_of_keys, list of keys corresponding to value
    """
    list_of_keys = []
    list_of_items = dictionary.items()
    for item in list_of_items:
        if item[1] == value:
            list_of_keys.append(item[0])
    return list_of_keys