Instruction: Check if a product can function as a substitute for a given query, even if it doesn't fully meet all requirements. Output yes if it can or no otherwise.

Input:
Query: spray foam
Product: Tomcat Rodent Block Expanding Foam Barrier - Specifically Formulated to Block Mice, Long Lasting and Foam Spray Keeps Mice From Coming Inside the House, 12 oz.
Answer: no