/**
  * not_a_robot
  *  @return boolean
  */
 public static function not_a_robot()
 {
     $not_a_robot = is_bool(EED_Recaptcha::$_not_a_robot) ? EED_Recaptcha::$_not_a_robot : EED_Recaptcha::recaptcha_passed();
     return $not_a_robot;
 }
    /**
     * display_recaptcha
     *
     * @access public
     * @return string html
     */
    public static function display_recaptcha($current_step, $next_step)
    {
        // don't display if not using recaptcha or user is logged in
        if (EE_Registry::instance()->CFG->registration->use_captcha && !is_user_logged_in()) {
            // verify library is loaded
            if (!function_exists('recaptcha_get_html')) {
                // EE_Registry::instance()->load_file( EE_THIRD_PARTY . 'recaptchalib.php', '', '' );
                require_once EE_THIRD_PARTY . 'recaptchalib.php';
            }
            // only display if they have NOT passed the test yet
            if (!EED_Recaptcha::recaptcha_passed()) {
                ?>
<script type="text/javascript">
/* <! [CDATA [ */
var RecaptchaOptions = { theme : "<?php 
                echo EE_Registry::instance()->CFG->registration->recaptcha_theme;
                ?>
", lang : "<?php 
                echo EE_Registry::instance()->CFG->registration->recaptcha_language;
                ?>
" };
/*  ] ]>  */
</script>
<p id="spco-captcha" class="reg-page-form-field-wrap-pg">
	<span><?php 
                echo __('Anti-Spam Measure: Please enter the following phrase:', 'event_espresso');
                ?>
</span>
	<?php 
                echo recaptcha_get_html(EE_Registry::instance()->CFG->registration->recaptcha_publickey, NULL, is_ssl() ? TRUE : FALSE);
                ?>
</p>
<?php 
            }
        }
    }