Added orderHasOrserStates methods to Order controller