Task: Question Decomposition
Input (English): question: If a leash extends diagonally from a top corner to one of the afghan hounds.
Output (English): #1 return afghan hounds 
#2 return leashes of #1 
#3 return #2 that extend diagonally from  a  top corner 
#4 return number of  #3 
#5 return if  #4 is equal to  one