diff --git a/lib/didkit/did.rb b/lib/didkit/did.rb index 633eb29..98ceff8 100644 --- a/lib/didkit/did.rb +++ b/lib/didkit/did.rb @@ -88,6 +88,10 @@ module DIDKit account_status == :active end + def account_exists? + account_status != nil + end + def ==(other) if other.is_a?(String) self.did == other