---
title: "isRouteActive(_:)"
framework: avrouting
role: symbol
role_heading: Instance Method
path: "avrouting/avcustomroutingcontroller/isrouteactive(_:)"
---

# isRouteActive(_:)

Returns a Boolean value that indicates whether a route is active.

## Declaration

```swift
func isRouteActive(_ route: AVCustomDeviceRoute) -> Bool
```

## Parameters

- `route`: A route for determining its active state.

## Return Value

Return Value true if the route is in an active state; otherwise, false.

## See Also

### Activating a route

- [setActive(_:for:)](avrouting/avcustomroutingcontroller/setactive(_:for:).md)
