'Should this tag be pretty-printed?'

def _should_pretty_print(self, indent_level):

    return ((indent_level is not None) and ((self.name not in HTMLAwareEntitySubstitution.preformatted_tags) or self._is_xml))
