Check key before access