@property
def channelBox(self):
    'Is the attribute visible in the Channel Box?'
    if (self.isArray or self.isCompound):
        return all((plug._mplug.isChannelBox for plug in self))
    else:
        return self._mplug.isChannelBox
Is the attribute visible in the Channel Box?
@property
def channelBox(self):
    
    if (self.isArray or self.isCompound):
        return all((plug._mplug.isChannelBox for plug in self))
    else:
        return self._mplug.isChannelBox