code: def validate (properties):
      
      if isinstance(properties, Property):
          properties = [properties]
      assert is_iterable_typed(properties, Property)
      for p in properties:
          __validate1(p)
docs: Exit with error if any of the properties is not valid.
          properties may be a single property or a sequence of properties.