def METHOD_NAME(self, data):
    """Check whether data fullfills the format of N*[ymin, xmin, ymax,
    xmin].
    Args:
        data: a numpy array of shape [N, 4] representing box coordinates
    Returns:
        a boolean indicating whether all ymax of boxes are equal or greater
        than ymin, and all xmax of boxes are equal or greater than xmin.
    """
    if len(data):
        for v in data:
            if v[0] > v[2] or v[1] > v[3]:
                return False
    return True