How to select a specific print layout (by name) in QGIS 3?
You don't need loop active composer,only select print layout by name.
composerTitle = 'Composer_001' # Name of the composer you want to export
project = QgsProject.instance()
projectLayoutManager = project.layoutManager()
layout = projectLayoutManager.layoutByName(composerTitle)