Syntax:
GTID_SUBSET(set1,set2)

Given two sets of global transaction identifiers set1 and set2, returns
true if all GTIDs in set1 are also in set2. Returns false otherwise.

URL: https://dev.mysql.com/doc/refman/5.7/en/gtid-functions.html

