def l_sa_check(template, literal, is_standalone):
    """Do a preliminary check to see if a tag could be a standalone"""
    if literal.find('\n') != -1 or is_standalone:
        padding = literal.split('\n')[-1]
        if padding.isspace() or padding == '':
            return True
        else:
            return False
