code: def update_antispoofing(self, networks=None):
          
          if not networks and len(self.data.get('antispoofing_ne_ref')):
              self.data.update(antispoofing_ne_ref=[])
              return True
          _networks = element_resolver(networks)
          if set(_networks) ^ set(self.data.get('antispoofing_ne_ref')):
              self.data.update(antispoofing_ne_ref=_networks)
              return True
          return False
docs: Pass a list of networks to update antispoofing networks with.
          You can clear networks by providing an empty list. If networks
          are provided but already exist, no update is made.
          
          :param list networks: networks, groups or hosts for antispoofing
          :rtype: bool