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","."]
docstr: Checks whether the `order` is executable on `exchange`.
  
  Parameters
  ----------
  order : `Order`
      An order.
  exchange : `Exchange`
      The exchange to check.
  
  Returns
  -------
  bool
      Whether `order` is executable on `exchange`.
code: def check(self, order: "Order", exchange: "Exchange") -> bool:
      """Checks whether the `order` is executable on `exchange`.
  
      Parameters
      ----------
      order : `Order`
          An order.
      exchange : `Exchange`
          The exchange to check.
  
      Returns
      -------
      bool
          Whether `order` is executable on `exchange`.
      """
      raise NotImplementedError
  
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 1 for calling the Criteria obj's underlying member method code with example usage: obj.check(order, exchange) without return types