:param didMethodName: name of DID Method
        :param required: if not found and True, throws an exception, else None
        :return: DID Method

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