public function index_created() { if (!sizeof($this->stats)) { $this->get_stats(); } return $this->stats['total_words'] && $this->stats['total_matches'] ? true : false; }