Umil.module exists

umil::module_exists –– Check if a module exists using the Umil Library.

Description
string umil::module_exists ( mixed $class, mixed $parent , mixed $module )

Return Values
True if the module exists False if the module does not exist

Example #1
Check if a module named 'ACP_CAT_TEST_MOD' exists in the ACP->'ACP_CAT_DOT_MODS' category. $umil->module_exists('acp', 'ACP_CAT_DOT_MODS', 'ACP_CAT_TEST_MOD');

Example #2
Check if a module named 'ACP_BOARD_SETTINGS' exists in the entire ACP $umil->module_exists('acp', false, 'ACP_BOARD_SETTINGS');

Example #3
Check if a module named 'ACP_CAT_DOT_MODS' exists as a base category in the ACP $umil->module_exists('acp', 0, 'ACP_CAT_DOT_MODS');