If you're asking about whether IE is switched off on your own company's computers, then the best way would be not to ask, but rather to require that it not be turned off. Group Policy can be used for this purpose.
If you're asking about whether IE is switched off on your customer's computers that you might be installing some software on, then the best way to do it would be to document that IE must not be switched off, then to let the customer use Group Policy to make sure that IE is not switched off.
If neither of these scenarios are what you're looking for, then please update your question with more information, including why you're trying to accomplish this.