room/runtime/src/main/java/androidx/room/DatabaseConfiguration.java
public boolean isMigrationRequiredFrom(int version) {
        // Migrations are required from this version if we generally require migrations AND EITHER
        // there are no exceptions OR the supplied version is not one of the exceptions.
        return requireMigration
                && (mMigrationNotRequiredFrom == null
                || !mMigrationNotRequiredFrom.contains(version));

    }
/**
     * Returns whether a migration is required from the specified version.
     *
     * @param version  The schema version.
     * @return True if a valid migration is required, false otherwise.
     */
Returns whether a migration is required from the specified version.
@param version  The schema version.
@return True if a valid migration is required, false otherwise.
Returns whether a migration is required from the specified version . @param version The schema version . @return True if a valid migration is required false otherwise .
public boolean isMigrationRequiredFrom(int version) {
        return requireMigration
                && (mMigrationNotRequiredFrom == null
                || !mMigrationNotRequiredFrom.contains(version));
    }
public boolean isMigrationRequiredFrom ( int version ) { return requireMigration && ( mMigrationNotRequiredFrom == null || ! mMigrationNotRequiredFrom . contains ( version ) ) ; }
Returns whether a migration is required from the specified version.
Returns whether a migration is required from the specified version .
// Migrations are required from this version if we generally require migrations AND EITHER // there are no exceptions OR the supplied version is not one of the exceptions.