<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_subset(a, b):
 """Excluding same size"""

    return b.left <= a.left and b.right > a.right or b.left < a.left and b.right >= a.right