code: def __init__(self, obj: Rollable):
      if not isinstance(obj, Rollable):
          raise ValueError(
              f"{obj} does not satisfy the necessary protocol"
          )
  
      self.obj = obj
  
imports: from __future__ import annotations
  import bisect
  import collections
  import datetime
  import typing
label_desc: Use image node_id 1 to create a new BaseRolling object  with example: obj = BaseRolling(obj)