Find if an instance is a connector instance
instance— The element instance
This function is part of the instance API that you can use to analyze the model
iteratively, element by element.
instance refers to the element
instance on which the iteration is being performed.
flag— Indicate if the instance is a connector
This argument is
true if the instance is a connector.