code: def check_xy(self, xy):
      (x, y) = xy
      if not (0 <= x < self.xsize and 0 <= y < self.ysize):
          raise ValueError("pixel location out of range")
      return xy
  
imports: import logging
  import sys
label_desc: Use image node_id 5 for calling the PyAccess obj's underlying member method code with example usage: obj.check_xy(xy) and returns: xy