This centralizes the logic around checking if an application exists.
This is useful for creating review applications in CI/CD pipelines.