code: def _inside(self, pos):
      if (
          0 <= pos.x < self.maze.shape[0]
          and 0 <= pos.y < self.maze.shape[1]
      ):
          return True
      return False
  
imports: import logging
  from typing import NamedTuple
  import numpy
  from gym import Env
  from gym.spaces import Box, Discrete
label_desc: Use image node_id 4 for calling the PocManEnv obj's underlying member method code with example usage: obj._inside(pos) and returns: False, True