fmeobjects.FMEAggregate.hasGeometryInstance

FMEAggregate.hasGeometryInstance()

hasGeometryInstance(recursive),

This method returns True if this aggregate contains an instance of a geometry definition. If the parameter recursive is set to False, it will only test this aggregate itself. If ‘recursive’ is equal to True, then this method will return True if any part contained in this aggregate at any level is a geometry instance.

Parameters:

recursive (bool) – To recurse or not.

Return type:

bool

Returns:

Whether there is geometry instance.