/** * Check whether a user is host in this virtual classroom. * @param String $login * @return boolean */ public function isParticipant($login) { $session = $this->xmlApi->getBreezeSession(); if ($session != NULL && $this->xmlApi->login($this->adminLogin, $this->adminPass, $session)) { return $this->xmlApi->isParticipant($login, $this->sco_id, $session); } }