def METHOD_NAME(prev_ans, new_ans):
    return (new_ans['_file'] is None
            or ('sha256' in prev_ans['data'] and 'sha256' in new_ans['data']
                    and prev_ans['data']['sha256'] == new_ans['data']['sha256']
                    and 'filename' in prev_ans['data'] and 'filename' in new_ans['data']
                    and prev_ans['data']['filename'] == new_ans['data']['filename'])
    )