question: If one of the images shows a black labrador and the other shows a brown labrador.
#1 return labrador 
#2 return #1 that is black 
#3 return #1 that is brown 
#4 return images of #2 
#5 return images of #3 
#6 return the  number of  #4 
#7 return the  number of  #5 
#8 return if  #6 is equal to  one 
#9 return if  #7 is equal to  one 
#10 return if  both  #8 and #9 is true