`params[:selected_files].present?` will do the same thing as the above two checks.