There are in-built matches and object handling for wearable objects.Just add... wearable="true" to your object definition.
boot : object wearable="true" "A boot";