class AuthorizationTree implements AuthorizationInfo {

    @Override
    public boolean isAuthorized(String blockchainAddress) {
        final Optional<AuthorizationNode> result = tree.breadthFirstSearch(node ->
            node.getAddress().equals(blockchainAddress));

        return result.isPresent();
    }

    public  AuthorizationTree(List<AuthorizationElement> allAuthorizationElements);

}