@property
def keyable(self):
    'Is the attribute keyable?'
    if (self.isArray or self.isCompound):
        return all((plug._mplug.isKeyable for plug in self))
    else:
        return self._mplug.isKeyable
Is the attribute keyable?
@property
def keyable(self):
    
    if (self.isArray or self.isCompound):
        return all((plug._mplug.isKeyable for plug in self))
    else:
        return self._mplug.isKeyable