def liveobj_changed(obj, other):
 return ((obj != other) or (type(obj) != type(other)))

def liveobj_changed ( obj , other ) : return ( ( obj != other ) or ( type ( obj ) != type ( other ) ) )
check whether obj and other are not equal .