def checks():
checkers_dir = os.path.dirname(checkers.__file__)<EOL>mod_names = [name for _, name, _ in pkgutil.iter_modules([checkers_dir])]<EOL>for name in mod_names:<EOL><INDENT>mod = importlib.import_module("<STR_LIT>".format(name))<EOL>if isinstance(getattr(mod, '<STR_LIT>', None), types.FunctionType):<EOL><INDENT>yield getattr(mod, '<STR_LIT>', name), mod<EOL><DEDENT><DEDENT>
An iterator of valid checks that are in the installed checkers package.

yields check name, check module