I know I can test if set1 is a subset of set2 with:
{\'a\',\'b\',\'c\'} <= {\'a\',\'b\',\'c\',\'d\',\'e\'} # True
But the following is a
As stated in the comments, a possible solution using Counter:
from collections import Counter def issubset(X, Y): return len(Counter(X)-Counter(Y)) == 0