Function GLProgram.check

returns true if program is ready for use

bool check();