check branch availabilty