fdutils/strings.py
def is_string_formatted(s, return_parsed_list=False):
    """ check if a string has formatted characters (with curly braces) """
    l = list(string.Formatter().parse(s))
    if len(l) == 1 and l[0][0] == s:
        is_formatted = False
    else:
        is_formatted = True

    if return_parsed_list:
        return is_formatted, l

    return is_formatted
 check if a string has formatted characters (with curly braces) 
check if a string has formatted characters (with curly braces)
check if a string has formatted characters ( with curly braces )
def is_string_formatted(s, return_parsed_list=False):
    l = list(string.Formatter().parse(s))
    if len(l) == 1 and l[0][0] == s:
        is_formatted = False
    else:
        is_formatted = True
    if return_parsed_list:
        return is_formatted, l
    return is_formatted
def is_string_formatted ( s , return_parsed_list = False ) : l = list ( string . Formatter ( ) . parse ( s ) ) if len ( l ) == 1 and l [ 0 ] [ 0 ] == s : is_formatted = False else : is_formatted = True if return_parsed_list : return is_formatted , l return is_formatted
check if a string has formatted characters (with curly braces)
check if a string has formatted characters ( with curly braces )
""" check if a string has formatted characters (with curly braces) """
s
return_parsed_list