Instruction: Assess the relevance of a product to a given query by determining if it can function as a substitute, despite not fully meeting certain aspects of the query. Provide a binary output of yes or no based on this evaluation.

Input:
Query: league legacy hat
Product: Richardson 112 Trucker OSFA Baseball Hat Ball Cap, Black/Charcoal, SIZE
Answer: yes