Token Controlled Permissions

Would a non-native system be able to check token balances on longin and every x number of minutes while active? I imagine this is something that would have to be initiated internally via a plugin. Also would we not need to use a plugin in order to implement the user interactions and token information into the UI?