def _parse_name(name):
required = False<EOL>if name[-<NUM_LIT:1>] == '<STR_LIT:*>':<EOL><INDENT>name = name[<NUM_LIT:0>:-<NUM_LIT:1>]<EOL>required = True<EOL><DEDENT>return name, required<EOL>
Parse name in complex dict definition.

    In complex definition required params can be marked with `*`.

    :param name:
    :return: name and required flag
    :rtype: tuple