Short-circuit decision about optional arguments when rest arg is present.