Added IsLabelUnique method.