Determine if container app was launched from iMessage extension?

Is there a way to determine whether my main app was launched by the user tapping on my app icon in upper left corner of the MSMessagesAppViewController?