Reading the documentation associated with the SlicerCheckModuleEnabled module should help.
SlicerCheckModuleEnabled