Revealing the degree of magnetic frustration by non-magnetic impurities