test if it is branch