Dry up common validation logic