The sentence "Does this sentence have right grammar?" is almost correct, but it would be more accurate to say: "Is this sentence grammatically correct?"