code: def padding(self, value):
      if isinstance(value, bool):
          value = Padding.yes if value else Padding.no
  
      self._validate_named(value, Padding)
  
      self._specifier["padding"] = value
      return self
  
imports: import collections
label_desc: Use image node_id 9 for calling the Format obj's underlying member method code with example usage: obj.padding(value) and returns: self