Yichud With Window

Is it considered yichud if me and a teacher are in a classroom and the door is closed but there is a window on the door?

As long as someone could see in through the window, there is no problem to yichud.

RABBI SHAY TAHAN