is_active

function is_active(account_auth_descriptor: account_auth_descriptor): boolean(source)

Checks whether all the rules of the auth descriptor are active.

Can only be called in an operation.

An inactive rule cannot be valid, and it cannot have expired yet. This allows skipping some checks.

Throws when rules is not the valid GTV representation of a rule.

Parameters

account_auth_descriptor

the descriptor to check

See also

rule_expression

for a definition of validity, expiration and activity.

account_auth_descriptor.rules

for the list of valid GTV representations of rules.