public boolean contains(float left, float top, float right, float bottom) {
        // check for empty first
        return this.left < this.right && this.bottom < this.top
                // now check for containment
                && this.left <= left && this.top >= top && this.right >= right && this.bottom <= bottom;
    }
Returns true iff the 4 specified sides of a viewport are inside or equal to this viewport. i.e. is this viewport
a superset of the specified viewport. An empty viewport never contains another viewport.

@param left   The left side of the viewport being tested for containment
@param top    The top of the viewport being tested for containment
@param right  The right side of the viewport being tested for containment
@param bottom The bottom of the viewport being tested for containment
@return true iff the the 4 specified sides of a viewport are inside or equal to this viewport
hellocharts-library/src/lecho/lib/hellocharts/model/Viewport.java