function visible() { $announcement = new announcement(); return $announcement->has_announcements(); }