'Test whether the mouse event occurred in the table.
Returns T/F, {}'

def contains(self, mouseevent):

    if callable(self._contains):
        return self._contains(self, mouseevent)
    renderer = self.figure._cachedRenderer
    if (renderer is not None):
        boxes = [cell.get_window_extent(renderer) for ((row, col), cell) in six.iteritems(self._cells) if ((row >= 0) and (col >= 0))]
        bbox = Bbox.union(boxes)
        return (bbox.contains(mouseevent.x, mouseevent.y), {})
    else:
        return (False, {})
