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: womens straight leg yoga pants
Product: Safort Women 28" 30" 32" 34" Inseam Regular Tall Straight Leg Yoga Pants, Workout Pants, Four Pockets, Grey L
Answer: no