Accordion Prototype in Sketch

Is there a way to create an intelligent/dynamic accordion prototype in Sketch?

Obviously, if clicking on one element, only this specific target should expand, the others should remain closed. Just how accordions work nowadays.

is it possible to create this prototype directly within Sketch itself?