/**
  * Check if the auth credentials of the WebEx user are good.
  *
  * @return bool    True if auth succeeded, false if failed.
  */
 public function check_user_auth()
 {
     if (!isset($this->password)) {
         return false;
     }
     $xml = xml_gen::check_user_auth($this);
     $webex = new \mod_webexactivity\webex();
     try {
         $response = $webex->get_response($xml, $this);
     } catch (exception\bad_password $e) {
         return false;
     }
     if ($response) {
         return true;
     } else {
         return false;
     }
 }