class_docstr: A criteria to be satisfied before an order will be executed.
class_docstr_tok: ["A","criteria","to","be","satisfied","before","an","order","will","be","executed","."]
code: def __call__(self, order: "Order", exchange: "Exchange") -> bool:
      if not exchange.is_pair_tradable(order.pair):
          return False
      return self.check(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 Criteria obj's underlying member method code with example usage: obj.__call__(order, exchange) and returns: self, False