Code:
if( !CollidingWithAnything())
{
  rest of draw
}
that's 1 way of doing it