code: def get(self, didMethodName, required=True) -> DidMethod:
          
          dm = self.d.get(didMethodName) if didMethodName else self.default
          if not dm and required:
              raise DidMethodNotFound
          return dm
docs: :param didMethodName: name of DID Method
          :param required: if not found and True, throws an exception, else None
          :return: DID Method