Before the control rendering tier price template, how to check whether the product having tier price or not in magento 2

How the magento control checks whether the product render the tier price template or regular price template ?

How can we do some functionality, before the control reads price template ?