If in at least one of the photos the man is wearing a baseball cap.
return man ;return baseball cap ;return #1 that is wearing #2 ;return if  #3 is in  at least one photos
['select', 'select', 'filter', 'boolean']