concerns
The attribute function is calling the attribute function ObjectHasOrder of the retrieved object. If no object was found by the object reference, the attribute function raises an error.