refactor isOneWay
to properly support bidirectional ways
#10730
Merged
isOneWay
to properly support bidirectional ways
#10730