You might want to use the if expanding text for comparison purposes check in this situation. I don’t know whether the initial appearance property is compared during the look action, but it’s good form.
To say set-handled:
unless expanding text for comparison purposes:
now the item described is handled.