def verifyPlugin(pluginName, requiredBy):
	try: ampy.indexOf(pluginName, __allPlugins__)
	except:
		try:
			cmds.loadPlugin('%s.py'%pluginName)
			cmds.pluginInfo('%s.py'%pluginName, e=True, autoload=True)
		except:
			sys.stderr.write('Error: Could not locate the %s plug-in. It is required for the %s module.\nPlease ensure that %s.py is located somewhere in your plug-in path.\n' 
				%(pluginName, os.path.basename(requiredBy), pluginName))
Verify that a particular plug-in is loaded and attempt to load it if it
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/amTools/utilities/plugins.py/verifyPlugin