def METHOD_NAME(self):
    model = Path(self.get_value_from_config('model'))
    if model.is_dir():
        model_list = list(model.glob('{}*.params'.format(self._model_name)))
        if not model_list:
            model_list = list(model.glob('*.params'))
            if not model_list:
                raise ConfigError('Suitable model checkpoint not found')
        if len(model_list) != 1:
            raise ConfigError(
                'Several model checkpoint found, please specify explicitly, which should be used for validation'
            )
        model = model_list[0]
    accepted_suffixes = ['.params']
    if model.suffix not in accepted_suffixes:
        raise ConfigError('Models with following suffixes are allowed: {}'.format(accepted_suffixes))
    print_info('Found model {}'.format(model))
    return model