def find_field(data_to_filter, field_name, field_value):
    """Utility function to filter blackduck objects for specific fields

    Args:
        data_to_filter (dict): typically the blackduck object or subselection of this
        field_name (string): name of field to use in comparisons
        field_value (string): value of field we seek

    Returns:
        object: object if found or None.
    """
    return next(filter(lambda d: d.get(field_name) == field_value, data_to_filter), None)