If at least one image shows pins with beads forming an american flag pattern.
return pins ;return beads ;return #1 with #2 ;return #3 forming an american flag pattern ;return if  #4 is in  at least one image
['select', 'select', 'filter', 'filter', 'boolean']