Some mods need to check if other mods are present. To avoid direct access to `mod_data`, we should provide a function for it.