code: def _set_route(self, ip_dest, next_hop, **kwargs):
          
  
          commands = self._build_commands(ip_dest, next_hop, **kwargs)
  
          delete = kwargs.get('delete', False)
          default = kwargs.get('default', False)
  
          # Prefix with 'no' if delete is set
          if delete:
              commands = "no " + commands
          # Or with 'default' if default is setting
          else:
              if default:
                  commands = "default " + commands
  
          return self.configure(commands)
docs: Configure a static route
  
          Args:
              ip_dest (string): The ip address of the destination in the
                  form of A.B.C.D/E
              next_hop (string): The next hop interface or ip address
              **kwargs['next_hop_ip'] (string): The next hop address on
                  destination interface
              **kwargs['distance'] (string): Administrative distance for this
                  route
              **kwargs['tag'] (string): Route tag
              **kwargs['route_name'] (string): Route name
              **kwargs['delete'] (boolean): If true, deletes the specified route
                  instead of creating or setting values for the route
              **kwargs['default'] (boolean): If true, defaults the specified
                  route instead of creating or setting values for the route
  
          Returns:
              True if the operation succeeds, otherwise False.