Return true if this rectangle is touching the given shape.

def touching(self, other):
        """ Return true if this rectangle is touching the given shape. """
        if self.top < other.bottom: return False
        if self.bottom > other.top: return False

        if self.left > other.right: return False
        if self.right < other.left: return False

        return True