No need to check instanceof everytime to find the next inbound / outbound context