Check if a permission/session is enabled for a specific account. You can also query this by the entire session struct using isSessionEnabled
.
AccountInstance
The instance of the account used for testing.
PermissionId | bytes32
The permission id to check if it is enabled.
bool
Returns true
if the permission is enabled, false
otherwise.