I've always referred to this a "gatekeeper" pattern. Though I think it goes by a few names. I find especially useful in Python, with its semantic white space.