[BEAM-14302] Simplify boolean check in fn.go (#17399)
[BEAM-14302] Simplify boolean check in fn.go (#17399)


apache/beam,lukecwik/incubator-beam,chamikaramj/beam,apache/beam,apache/beam,lukecwik/incubator-beam,chamikaramj/beam,chamikaramj/beam,lukecwik/incubator-beam,lukecwik/incubator-beam,apache/beam,lukecwik/incubator-beam,apache/beam,lukecwik/incubator-beam,chamikaramj/beam,lukecwik/incubator-beam,lukecwik/incubator-beam,apache/beam,lukecwik/incubator-beam,lukecwik/incubator-beam,apache/beam,apache/beam,chamikaramj/beam,chamikaramj/beam,chamikaramj/beam,apache/beam,apache/beam,chamikaramj/beam,chamikaramj/beam,chamikaramj/beam,apache/beam