How to determine the version of the pull request experience?

We have a BitBucket add-on that places a link to interesting data (in the old PR experience) under the overview tab, to the right. In the new PR experience, this link appears on the drop-down tied to the ellipsis button. We’d like to place it under the new reports panel. Is there any way for us to identify the version of this interface a user is on so that we can place it in the right place based on the pull request interface?