Before a repair job, check that the toolkit contains every required tool. Extra tools are welcome.
A set can cover a smaller list of conditions.
features = {"audio", "video", "captions"}
print({"audio", "video"} <= features) # True
print({"video", "chat"} <= features) # FalseThe <= operator asks whether everything on its left is present on its right. One missing feature is enough for the check to fail.
Fix ready_to_repair(required, available). The starter only accepts exact matches. Return True when every required tool is available, even if extra tools are packed or a name is listed twice. A job with no requirements is ready.