public static function theme_implemented($hookname) { return isset(self::$hooks['theme'][$hookname]); }