def getKeyIsInPixelTableAddValue(key, pathIndexTable, pixelTable):
 if (key in pixelTable):
  value = pixelTable[key]
  if (value != None):
   pathIndexTable[value] = None
  return True
 return False

def getKeyIsInPixelTableAddValue ( key , pathIndexTable , pixelTable ) : if ( key in pixelTable ) : value = pixelTable [ key ] if ( value != None ) : pathIndexTable [ value ] = None return True return False
determine if the key is in the pixel table .