'Throw an ERROR-level DirectiveError if the directive doesn\'t
have contents.'

def assert_has_content(self):

    if (not self.content):
        raise self.error(('Content    block    expected    for    the    "%s"    directive;    none    found.' % self.name))
