Tag Question

an interrogative structure placed at the end of the sentence.

Uses
A sentence containing a tag question generally expects an answer of yes or no.

However, a tag question may be added soften a comment made by the speaker or to emphasize the sarcasm in a sentence.

See rhetorical questions.

Crystal, David. Rediscover Grammar, page 50.