code: def is_terminal(self, symbol):
      return symbol in set(
          [
              "object_exists",
              "all_objects",
              "black",
              "triangle",
              "touch_wall",
          ]
      )
  
file_path: magnitude/pymagnitude/third_party/allennlp/tests/semparse/action_space_walker_test.py
imports: from __future__ import absolute_import
  from nltk.sem.logic import TRUTH_TYPE
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.semparse.worlds.world import World
  from allennlp.semparse import ActionSpaceWalker
label_desc: Use image node_id 3 for calling the FakeWorldWithAssertions obj's underlying member method code with example usage: obj.is_terminal(symbol) and returns: unknown