I think I'd feel safer having an open-sided hide like those half-log hides, with one end pointed toward the glass. Then I'd adhere a panel of some kind (paper, plastic, cardboard, nice photo, etc..) on the outside that I could lift to take a peek.
Most of the snakes I've owned seemed to have preferred a fairly flat hide that kept them squished between the ceiling and substrate.