added functions to run the checking function on all the methods of a generic function or all the generic functions in a module.