Added isCurrent function in UIMAApplication