code: def _check_node_parameters(self, **kwargs):
          
          if 'fqdn' in kwargs:
              kwargs['fqdn'].pop('autopopulate', '')
              kwargs['fqdn'].pop('addressFamily', '')
          if 'fqdn' in self.__dict__:
              self.__dict__['fqdn'].pop('autopopulate', '')
              self.__dict__['fqdn'].pop('addressFamily', '')
          if 'state' in kwargs:
              if kwargs['state'] != 'user-up' and kwargs['state'] != \
                      'user-down':
                  kwargs.pop('state')
          if 'state' in self.__dict__:
              if self.__dict__['state'] != 'user-up' and self.__dict__['state'] \
                      != 'user-down':
                  self.__dict__.pop('state')
          if 'session' in kwargs:
              if kwargs['session'] != 'user-enabled' and kwargs['session'] != \
                      'user-disabled':
                  kwargs.pop('session')
          if 'session' in self.__dict__:
              if self.__dict__['session'] != 'user-enabled' and \
                      self.__dict__['session'] != 'user-disabled':
                  self.__dict__.pop('session')
          # Until we implement sanity checks for __dict__ this needs to stay here
          self.__dict__.pop('ephemeral', '')
          self.__dict__.pop('address', '')
          return kwargs
docs: See discussion in issue #840.