code: def __bool__(*args, **kwargs):
      raise Exception("Restricted function")
  
imports: import dill
label_desc: Use image node_id 1 for calling the RestrictedType obj's underlying member method code with example usage: obj.__bool__() without return types