I don't think that would work, since isEmpty will return true for the bounding box of point features. The test is uses is:
xmax <= xmin || ymax <= ymin