# pool.is_upgraded

Returns whether the pool of `id` is on the latest version and with all feature flags enabled.

Queries the database for the pool matching the given `id`, then checks each ZFS feature flag on the pool. Returns `true` only when every feature flag is in the ENABLED or ACTIVE state.

Raises a `ValidationError` if `id` does not match any pool in the database.

DEPRECATED: this method is scheduled to be removed in v26.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: id

#### id

Type: integer

ID of the pool to check upgrade status for.

##

#### Result

Type: boolean

Whether the pool has been upgraded to the latest feature flags.

Required roles: POOL_READ