code: def validate(self):
          
          super(OutputContextVertex, self).validate()
  
          if self.location.field is not None:
              raise ValueError(u'Expected location at a vertex, but got: {}'.format(self.location))
docs: Validate that the OutputContextVertex is correctly representable.