How do i verify if the Desktop/Device can run openGl ES 2.0 ?

How do i verify if the Desktop/Device can run openGl ES 2.0 ?

Hi Guys, im trying to generate an error file if the device cant run in Es2.0 because my textures arent in power of two…

Any ideas?