class_docstr: <a id="History"></a>
  
  ## History
  
  History $h \in H$ is a sequence of actions including chance events,
   and $H$ is the set of all histories.
  
  This class should be extended with game specific logic.
class_docstr_tok: ["<","a","id=","''","History","''",">","<","\/a",">","#","#","History","History","$","h","\\in","H","$","is","a","sequence","of","actions","including","chance","events",",","and","$","H","$","is","the","set","of","all","histories",".","This","class","should","be","extended","with","game","specific","logic","."]
docstr: Whether the next step is a chance step; something like dealing a new card.
  $P(h) = c$
docstr_tok: ["Whether","the","next","step","is","a","chance","step",";","something","like","dealing","a","new","card",".","$","P","(","h",")","=","c","$"]
code: def is_chance(self) -> bool:
      """
      Whether the next step is a chance step; something like dealing a new card.
      $P(h) = c$
      """
      raise NotImplementedError()
  
imports: from typing import NewType, Dict, List, Callable, cast
  from labml import monit, tracker, logger, experiment
  from labml.configs import BaseConfigs, option
label_desc: Use image node_id 4 for calling the History obj's underlying member method code with example usage: obj.is_chance() without return types