move is_module_installed as a class metnhod