I\'m struggling with this NetLogo code:
ifelse not any? turtles-on patch-ahead 1 [ fd 1 ] [ let moved? false foreach [who] of list neighbors