question: Are any two small spheres the same color and material?
#1 return spheres 
#2 return #1 that are small 
#3 return colors of #2 
#4 return materials of #2 
#5 return #2 where #3 are the  same 
#6 return #2 where #4 are the  same 
#7 return #2 in  both #5 and  #6 
#8 return number of  #7 
#9 return if #8 is at least two