check the existence of go