original_string: public static function is_age_digital_consent_verification_enabled() {
          global $PAGE;
  
          $context = context_system::instance();
          $PAGE->set_context($context);
  
          $status = false;
          // Check if verification is enabled.
          if (\core_auth\digital_consent::is_age_digital_consent_verification_enabled()) {
              $status = true;
          }
  
          return array(
              'status' => $status
          );
      }
code: public static function is_age_digital_consent_verification_enabled() {
          global $PAGE;
  
          $context = context_system::instance();
          $PAGE->set_context($context);
  
          $status = false;
          // Check if verification is enabled.
          if (\core_auth\digital_consent::is_age_digital_consent_verification_enabled()) {
              $status = true;
          }
  
          return array(
              'status' => $status
          );
      }
code_tokens: public static function is_age_digital_consent_verification_enabled ( ) { global $ PAGE ; $ context = context_system :: instance ( ) ; $ PAGE -> set_context ( $ context ) ; $ status = false ; // Check if verification is enabled. if ( \ core_auth \ digital_consent :: is_age_digital_consent_verification_enabled ( ) ) { $ status = true ; } return array ( 'status' => $ status ) ; }
docstring: Checks if age digital consent verification is enabled.
  
  @return array status (true if digital consent verification is enabled, false otherwise.)
  @since Moodle 3.3
  @throws moodle_exception
docstring_tokens: Checks if age digital consent verification is enabled .