Hi, ARN class should implement __hash__ for ARN uniqueness, so it will be possible to use it as dict key and also to compare. I'll submit small PR.