code: def set_sflow(self, name, value=None, default=False, disable=False):
          
          if value not in [True, False, None]:
              raise ValueError
  
          commands = ['interface %s' % name]
          commands.append(self.command_builder('sflow enable', value=value,
                                               default=default, disable=disable))
          return self.configure(commands)
docs: Configures the sFlow state on the interface
  
          Args:
              name (string): The interface identifier.  It must be a full
                  interface name (ie Ethernet, not Et)
  
              value (boolean): True if sFlow should be enabled otherwise False
  
              default (boolean): Specifies the default value for sFlow
  
              disable (boolean): Specifies to disable sFlow
  
          Returns:
              True if the operation succeeds otherwise False is returned