lib: module_loaded? in preparation for url shortener module