check to see whether module is already loaded