Get surrounding locations

So this function is given in the documentation:

get_locations_in_range(location, radius)

but how am I able to call it in algo_strategy.py ?
Do I need to import another file or something, because right now Im not able to do this.
Ive done a kind of work around, buti ts very inefficient and causes alot of algo time outs.

So how do I use this function anyone?

This function is part of the game_map.py file. In the main logic of your algo, you have an instance of the game_map as a member of the passed in game_state. Use
game_state.game_map.get_locations_in_range(location, radius)

Ah ok thanks that makes sense