#1 return right image 
#2 return dogs in  #1 
#3 return #1 that is sitting 
#4 return #1 that is standing 
#5 return #3 that is next to  #4 
#6 return number of  #5 
#7 return if  #6 is equal to  one
If the image on the right shows one dog sitting next to one dog standing.