I might prefer:
if results_file.import_warnings.present?