@property
def ordered(self):
    'Whether the categories have an ordered relationship'
    return self.dtype.ordered
Whether the categories have an ordered relationship
@property
def ordered(self):
    
    return self.dtype.ordered