[5.0] Add hasParameter function to route