can-move?3.1
can-move? distance 
Reports true if this turtle can move distance in the direction it is facing without violating the topology; reports false otherwise.
It is equivalent to:
patch-ahead distance != nobody
Take me to the full NetLogo Dictionary