CPActionSheetTemplate not detected in presentedTemplate while CPAlertTemplate is

I'm developing a CarPlay app and encountered an inconsistent behavior with template detection.

When I present a CPActionSheetTemplate and then print the presentedTemplate property, it returns nil.

However, when I present a CPAlertTemplate, the presentedTemplate property correctly returns the template object.

This inconsistency is causing issues in my app where I need to check if there's already a presented template before showing another one to avoid conflicts. Why does CPActionSheetTemplate not get detected in presentedTemplate while CPAlertTemplate does? Is this intended behavior or a bug? Any guidance on how to properly detect if a CPActionSheetTemplate is currently presented would be greatly appreciated.

CPActionSheetTemplate not detected in presentedTemplate while CPAlertTemplate is
 
 
Q