check if cert is selected