refactor(accordion): use optional binding for `isOpen`