question: private boolean checkEntityIsReachable ( final Player player , final Entity entity ) { final List < Node > path = Path . searchPath ( player , player . getX ( ) , player . getY ( ) , entity . getArea ( ) , 7 ) ; if ( path . isEmpty ( ) && ! entity . nextTo ( player ) ) { player . sendPrivateText ( "That " + entity . getTitle ( ) + " is too far away." ) ; return false ; } return true ; }
target:  checks whether this entity is reachable (whether a path exists)