in sdw_updater/Updater.py [0:0]
def migration_is_required():
"""
Check whether a full run of the Salt config via sdw-admin is required.
"""
result = False
if os.path.exists(MIGRATION_DIR) and len(os.listdir(MIGRATION_DIR)) > 0:
sdlog.info("Migration is required, will enforce full config during update")
result = True
return result