def METHOD_NAME(self, obj, check_module, check_str):
    """Run a check function on obj."""
    opts = self._config['options']
    if check_str in opts:
        fargs = opts[check_str]
        if isinstance(fargs, list):
            out = check_wrapper(getattr(check_module, check_str))(obj, *fargs)
        else:
            out = check_wrapper(getattr(check_module, check_str))(obj, fargs)
    else:
        out = check_wrapper(getattr(check_module, check_str))(obj)
    try:
        if out.info:
            L.debug('%s: %d failing ids detected: %s',
                    out.title, len(out.info), out.info)
    except TypeError:  # pragma: no cover
        pass
    return out