added a check to verify attribute combination is possible for an instance