Two sets are represented as bitmasks, where bit i indicates that element i belongs to the set. Given masks sub and sup, determine whether the set represented by sub is a subset of the set represented by sup.
Input: A JSON object {"sub": <bitmask>, "sup": <bitmask>}.
Output: Return true if every bit set in sub is also set in sup, otherwise false.
Input: {"sub":5,"sup":7}
Output: true
Explanation: 101 is contained in 111 -> true.Input: {"sub":5,"sup":6}
Output: false
Explanation: 101 has bit 0 which 110 lacks -> false.0 <= sub, sup <= 2^40