If the instrument on the left is horizontal, the one on the right is diagonal.
return instrument ;return #1 on the  left ;return #1 on the  right ;return if  #2 is  horizontal ;return if  #3 is  diagonal ;return if  both  #4 and #5 are  true
['select', 'filter', 'filter', 'boolean', 'boolean', 'boolean']