This check isn't forward compatible, so on the next GLSL version, this won't work any more.