"In location" that includes containers? (RESOLVED)

Suppose I want to check a location for a thing which might be inside one of several containers or on one of several supporters. Is there a simple way to code this without specifying each container and supporter and without using a loop? I tried:

If noun is not contained by saloon, say "'We dont serve that here,' [the bartender] says."

as well as

If noun is not in saloon and noun is not in something in saloon and noun is not on something in saloon, say "'We dont serve that here,' [the bartender] says."

Both of these attempts compiled, but did not detect the beverage which was there.

Yes, there is: if the noun is not enclosed by the Saloon: […]

Note, however, that this piece of code might still not do what you want. If the player orders something that is not enclosed (or contained etc.) by the Saloon, the game will respond with a parser error (“You can’t see any such thing.”) rather than with the bartender’s line.

Enclosed by…thank you! I had known this and forgot. And thanks for the caveat as well.