/** * Checks to see if this is a valid user. * * @param $userid * * @return bool */ public function ValidUser($userid) { if (!$this->database->HasUser($userid)) { return false; } return true; }