class_docstr: Because our negate filters are higher-order functions, we need to make an explicit class here,
  to make sure that we've overridden the right methods correctly.
code: def substitute_any_type(self, basic_types):
      # There's no ANY_TYPE in here, so we don't need to do any substitution.
      return [self]
  
file_path: magnitude/pymagnitude/third_party/allennlp/semparse/type_declarations/nlvr_type_declaration.py
imports: from __future__ import absolute_import
  from nltk.sem.logic import TRUTH_TYPE, BasicType, EntityType, Type
  from allennlp.semparse.type_declarations.type_declaration import ComplexType, HigherOrderType, NamedBasicType
label_desc: Use image node_id 2 for calling the NegateFilterType obj's underlying member method code with example usage: obj.substitute_any_type(basic_types) and returns: list