'Return True if this ``MapperProperty``\'s mapper is the
primary mapper for its class.
This flag is used to indicate that the ``MapperProperty`` can
define attribute instrumentation for the class at the class
level (as opposed to the individual instance level).'

def is_primary(self):

    return (not self.parent.non_primary)
