check if card value is allowed