code: def remove(attributes, properties):
      
      if isinstance(attributes, basestring):
          attributes = [attributes]
      assert is_iterable_typed(attributes, basestring)
      assert is_iterable_typed(properties, basestring)
      result = []
      for e in properties:
          attributes_new = feature.attributes(get_grist(e))
          has_common_features = 0
          for a in attributes_new:
              if a in attributes:
                  has_common_features = 1
                  break
  
          if not has_common_features:
              result += e
  
      return result
docs: Returns a property sets which include all the elements
      in 'properties' that do not have attributes listed in 'attributes'.