Grammar is cool, isn't it?
This is an example of a question tag.
A question tag is the short question at the end of the sentence.
It is similar to the Dutch: 'klopt dat?', 'Ben je het ermee eens?',
'vind je niet?', 'toch?', or 'hè?'
As with everything in English, there's a rule you need to know to make these question tags.