Add isReachable method