class_docstr: Abstract restricted list interface, representing a set of assets that an
  algorithm is restricted from trading.
class_docstr_tok: ["Abstract","restricted","list","interface",",","representing","a","set","of","assets","that","an","algorithm","is","restricted","from","trading","."]
docstr: Is the asset restricted (RestrictionStates.FROZEN) on the given dt?
  
  Parameters
  ----------
  asset : Asset of iterable of Assets
      The asset(s) for which we are querying a restriction
  dt : pd.Timestamp
      The timestamp of the restriction query
  
  Returns
  -------
  is_restricted : bool or pd.Series[bool] indexed by asset
      Is the asset or assets restricted on this dt?
docstr_tok: ["Is","the","asset","restricted","(","RestrictionStates.FROZEN",")","on","the","given","dt","?","Parameters","--","--","--","--","--","asset",":","Asset","of","iterable","of","Assets","The","asset","(","s",")","for","which","we","are","querying","a","restriction","dt",":","pd.Timestamp","The","timestamp","of","the","restriction","query","Returns","--","--","--","-","is_restricted",":","bool","or","pd.Series","[","bool","]","indexed","by","asset","Is","the","asset","or","assets","restricted","on","this","dt","?"]
code: def is_restricted(self, assets, dt):
      """
      Is the asset restricted (RestrictionStates.FROZEN) on the given dt?
  
      Parameters
      ----------
      asset : Asset of iterable of Assets
          The asset(s) for which we are querying a restriction
      dt : pd.Timestamp
          The timestamp of the restriction query
  
      Returns
      -------
      is_restricted : bool or pd.Series[bool] indexed by asset
          Is the asset or assets restricted on this dt?
  
      """
      raise NotImplementedError("is_restricted")
  
imports: import abc
  from numpy import vectorize
  from functools import partial, reduce
  import operator
  import pandas
  from six import with_metaclass, iteritems
  from collections import namedtuple
  from toolz import groupby
  from catalyst.utils.enum import enum
  from catalyst.utils.numpy_utils import vectorized_is_element
  from catalyst.assets import Asset
label_desc: Use image node_id 1 for calling the Restrictions obj's underlying member method code with example usage: obj.is_restricted(assets, dt) without return types