check to see if it is a branch