route_contain

Check if the current route uri contains the given URI or list of URIs

Parameters
array|string $uri

URI string or array of URI strings

#
array $except = []

Array of URI string to be excluded in check

#
Returns
boolean

true/false