@property
def connected(self):
    'Return whether or not this attribute is connected (to anything)'
    return (self.connection() is not None)
Return whether or not this attribute is connected (to anything)
@property
def connected(self):
    
    return (self.connection() is not None)