You can use the following piece of code to check your condition:
EXAMPLE:
a = {1:"abc", 2:"xyz", 3:"efg"}
b = {1:"abc", 2:"xyz", 3:"tro", 4:"bar"}
if a.items() <= b.items():
print("a is subset of b")
else:
print("a is not a subset of b")
OUTPUT:
a is not a subset of b