code: def validate_input(self):
          
          if self.vert[1] <= self.vert[0]:
              raise ValueError(u'{} must be larger than {}'.format(self.vert[1], self.vert[0]))
docs: Raise appropriate exception if gate was defined incorrectly.