vars['users'][$username]; } // Return TRUE if the post exists, FALSE otherwise. public function validUsername($username) { return isset($this->vars['users'][$username]); } } ?>