class CommandMigrationService implements MigrationService {

    @Override
    public boolean checkAndMigrate(PropertyResource resource, List<Property<?>> properties) {
        final CommandConfig commandConfig = CommandSettingsHolder.COMMANDS.getValue(resource);
        if (moveOtherAccountsConfig(commandConfig) || isFileEmpty(resource)) {
            resource.setValue("", commandConfig);
            return true;
        }
        return false;
    }

      CommandMigrationService();

}