def METHOD_NAME(self, data: np.ndarray) -> bool:
    """Check whether data fullfills the format of N*[ymin, xmin, ymax, xmin].
    Args:
        data (np.ndarray): Box coords as a [N, 4] numpy array.
    Returns:
        bool: Whether ymin <= ymax and xmin <= xmax.
    """
    ymin, xmin, ymax, xmax = data.T
    return (ymin <= ymax).all() and (xmin <= xmax).all()