TIR is possible whenever light is travelling from a more optically dense medium to a less optically dense medium. You didnt provide any scenarios but just look up refractive indexes of the mediums the light is travelling through and if it is travelling from a more dense to a less dense, TIR is possible