update order status controller exposes function to determine whether the path starts with an arbitrary string