@Override
public boolean update(IUpdateContext context) {
IPeService peService = Graphiti.getPeService();
IGaService gaService = Graphiti.getGaService();
ContainerShape container = (ContainerShape) context.getPictogramElement();
CallActivity callActivity = BusinessObjectUtil.getFirstElementOfType(context.getPictogramElement(),
CallActivity.class);
ContainerShape markerContainer = (ContainerShape) getShape(container,
GraphicsUtil.ACTIVITY_MARKER_CONTAINER);
Shape globalTaskShape = getShape(container, GLOBAL_TASK_SHAPE_PROPERTY);
if (callActivity.getCalledElementRef() == null) {
GraphicsUtil.clearActivityMarker(markerContainer, GraphicsUtil.ACTIVITY_MARKER_EXPAND);