ap_show_captcha_to_user()

Function: Check if user can by pass a captcha.

ap_user_can_edit_question()

Function: Check if user can edit a question.