def __init__( self, plug, imagePlug = None, parenting = None ) :

		self.__menuButton = GafferUI.MenuButton( menu = GafferUI.Menu( Gaffer.WeakMethod( self.__menuDefinition ) ) )

		GafferUI.PlugValueWidget.__init__( self, self.__menuButton, plug, parenting = parenting )

		if imagePlug is None :
			self.__imagePlug = imagePlug
		else :
			self.__imagePlug = plug.node()["in"]

		assert( isinstance( self.__imagePlug, GafferImage.ImagePlug ) )

		self._updateFromPlug()
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferImageUI/ChannelMaskPlugValueWidget.py/ChannelMaskPlugValueWidget.__init__/operator `is not` -> `is`