If the birds in at least one of the images are near a tree surrounded area.
return birds ;return area ;return trees ;return #2 surrounded with #3 ;return #1 that are near #4 ;return if  #5 are in  at least one of the  images
['select', 'select', 'select', 'filter', 'filter', 'boolean']