def METHOD_NAME(y):
    """For debugging purposes."""
    is_efficient = np.ones(y.shape[0], dtype=bool)
    for i, c in enumerate(y):
        is_efficient[i] = np.all(np.any(y[:i] > c, axis=1)) and np.all(
            np.any(y[i + 1 :] > c, axis=1)
        )
    return is_efficient