From 2a04a40710c63d30a6f7edf3d1cb1eb9417ce060 Mon Sep 17 00:00:00 2001 From: Anton Nikiforov Date: Tue, 4 Jun 2024 10:17:07 +0300 Subject: [PATCH] [#227] bearer: Add method `IsSetAPEOverride` Signed-off-by: Anton Nikiforov --- bearer/bearer.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bearer/bearer.go b/bearer/bearer.go index e419d54..407ec08 100644 --- a/bearer/bearer.go +++ b/bearer/bearer.go @@ -313,6 +313,13 @@ func (b *Token) SetAPEOverride(v APEOverride) { b.apeOverrideSet = true } +// IsSetAPEOverride return true if APEOverride is set. +// +// See also: APEOverride. +func (b *Token) IsSetAPEOverride() bool { + return b.apeOverrideSet +} + // APEOverride returns APE override set by SetAPEOverride. // // Zero Token has zero APEOverride. -- 2.45.2