code: def _arg_is_last(self, arg):
      if self.check == "identity":
          return arg is self.memory
      elif self.check == "equality":
          return arg == self.memory
  
file_path: lkpy/lenskit/util/__init__.py
imports: import logging
  from textwrap import dedent
  from copy import deepcopy
  from ..algorithms import Algorithm
  from .log import log_to_notebook, log_to_stderr
  from .timing import Stopwatch
  from .random import derivable_rng
  from .parallel import proc_count
label_desc: Use image node_id 3 for calling the LastMemo obj's underlying member method code with example usage: obj._arg_is_last(arg) and returns: unknown, unknown