Yes exactly. To take the code snippet a cousin-reply mentioned one step further, swaping @a and @b:
> my @a = <1 2 3 4>;
[1 2 3 4]
> my @b = <2 3>;
[2 3]
> say so all(@a) < any(@b);
False
> say so all(@b) < any(@a);
True