code: def percentage(decimals, rounded=False):
      if not isinstance(rounded, bool):
          raise TypeError("expected rounded to be a boolean")
  
      rounded = (
          Scheme.percentage_rounded if rounded else Scheme.percentage
      )
      return Format(scheme=rounded, precision=decimals)
  
label_desc: Use image node_id 2 for calling a global function with example usage: percentage(decimals, rounded) and returns: Format