Future<bool> hasMigration(Migration migration) async { return getMigration(migration).then((value) => value != null); }