When Will Total Internal Reflection Occur