code: def set_bpduguard(self, name, value=False, default=False, disable=False):
          
          value = 'enable' if value else 'disable'
          string = 'spanning-tree bpduguard'
          cmds = self.command_builder(string, value=value, default=default,
                                      disable=disable)
          return self.configure_interface(name, cmds)
docs: Configures the bpduguard value for the specified interface
  
          Args:
              name (string): The interface identifier to configure.  The name
                  must be the full interface name (eg Ethernet1, not Et1)
  
              value (bool): True if bpduguard is enabled otherwise False
  
              default (bool): Configures the bpduguard parameter to its default
                  value using the EOS CLI default config command
  
              disable (bool): Negates the bpduguard parameter using the EOS
                  CLI no config command
  
          Returns:
              True if the command succeeds, otherwise False
  
          Raises:
              ValueError: Rasied if an invalid interface name is specified
  
              TypeError: Raised if the value keyword argument does not evaluate
                  to a valid boolean