def METHOD_NAME(self, params):
    if os.path.isfile(params.system.CONFIG_PATH) and \
            not params.override_config:
        raise RuntimeError(
            'The on-premises instance configuration file already exists. '
            'Specify --override-config to update the existing on-premises '
            'instance configuration file.'
        )