def do_files_to_copy_contain_entry_with_src(files_to_copy, src):
    """Searches the files to be copied for an entry with src field that matches the given src."""
    is_present = False
    for file_to_copy in files_to_copy:
        if file_to_copy.src == src:
            is_present = True
            break
    return is_present