_object.left_object is None: return False [...] _object.right_object is None: return False [...] ("-----------------------------------------------------") return False return