Yes. And you can have two nested if statements, one per branch.
if
This is the end of the chapter. If you want, review the following topics; else, go on to the next chapter.
You have reached the end of the chapter.