MDL-63142 mod_label: Check if the module is visible to the user