Detect Admin/Shop Owner Logged into Store

Shopify Partner
3 0 0

I am writing an app, and I want the app to have an "admin" mode that detects when the Shop Owner, or if possible registered users designated by the Shop owner, are logged into the store.  When the app recognizes an "admin" is logged into the store, we will use this to show admin controls.