def should_expand(self, tag):
return self.indentation is not None and tag and (<EOL>not self.previous_indent or (<EOL>tag.serializer == '<STR_LIT:list>'<EOL>and tag.subtype.serializer in ('<STR_LIT>', '<STR_LIT:list>', '<STR_LIT>')<EOL>) or (<EOL>tag.serializer == '<STR_LIT>'<EOL>)<EOL>)<EOL>
Return whether the specified tag should be expanded.