static void requiredDidCheck() { if (!d_wallet.hasActiveDid()) { throw new Exception("Attention: A DID has to be activated in order to execute this command."); } }