public static function is_registered($index) { if (self::$_registry === null) { return false; } return self::$_registry->exists_offset($index); }