Magnetism of Ir5+-based double perovskites: Unraveling its nature and the influence of structure