BulkImportInstitutions

extract to a private method `check_valid_range`