Refactored Application.isReady() to have only one level indent.