Traversable wormholes are possible under certain gravity conditions