Represent direction with boolean
Represent direction with boolean

...since direction can only hold one of two possible values.

PiperOrigin-RevId: 402855698

google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor