class_docstr: A criteria to invert the truth value of another criteria.
  
  Parameters
  ----------
  criteria : `Callable[[Order, Exchange], bool]`
      The criteria to invert the truth value of.
class_docstr_tok: ["A","criteria","to","invert","the","truth","value","of","another","criteria",".","Parameters","--","--","--","--","--","criteria",":","`","Callable","[","[","Order",",","Exchange","]",",","bool","]","`","The","criteria","to","invert","the","truth","value","of","."]
code: def check(self, order: "Order", exchange: "Exchange") -> bool:
      return not self.criteria(order, exchange)
  
imports: import operator
  from abc import abstractmethod, ABCMeta
  from typing import Callable, Union, TypeVar
  from enum import Enum
  from tensortrade.oms.orders import TradeSide, Order
  from tensortrade.oms.exchanges import Exchange
label_desc: Use image node_id 2 for calling the NotCriteria obj's underlying member method code with example usage: obj.check(order, exchange) and returns: unknown