geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/TileBoundingBoxAndroidUtils.java
public static boolean isValid(Rect rect) {
        return rect.left < rect.right && rect.top < rect.bottom;
    }
public static boolean isValid(Rect rect) {
        return rect.left < rect.right && rect.top < rect.bottom;
    }
Check if the rectangle is valid

@param rect rectangle
@return true if valid
@since 1.3.1