This check is actually of no use because you normally can't access the console application. That's why I removed it.