code: def invalid_coordinate(grid, position):
      height, width = grid.shape
      x_coord, y_coord = position
      return not (0 <= x_coord < height) or not (0 <= y_coord < width)
  
file_path: neupy/examples/reinforcement_learning/vin/evaluation.py
imports: from __future__ import division
  import numpy
  from tqdm import tqdm
  from neupy.utils import asfloat
label_desc: Use image node_id 1 for calling a global function with example usage: invalid_coordinate(grid, position) and returns: unknown