protected function findSection(array $open, $name = self::LAST_OPEN)
    {
        foreach ($open as $i => $item) {
            $item = explode(' ', $item['value']);

            if ($item[0] === $name) {
                return $i;
            }
        }

        if ($name == self::LAST_OPEN) {
            return $i;
        }

        return false;
    }