The list comprehension loops over your list of sets for set_item in set_list. It then ensures that the result set isn't empty if set_item - my_set. Finally, it returns the result set_item - my_set at the left side of the statement.

Email codedump link for Pythonic way to check if a set in list is present in a different set