def __plugMetadataChanged( self, nodeTypeId, plugPath, key, plug ) :

		if self.__parent is None :
			return

		if plug is not None and not self.__parent.isSame( plug ) and not self.__parent.isSame( plug.parent() ) :
			return

		node = self.__parent.node() if isinstance( self.__parent, Gaffer.Plug ) else self.__parent
		if not node.isInstanceOf( nodeTypeId ) :
			return

		if ( "layout:index", "layout:section", "uiEditor:emptySections", "uiEditor:emptySectionIndices" ) in key :
			self.__updatePathLazily()
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferUI/UIEditor.py/_PlugListing.__plugMetadataChanged/swapped operands of `in`