<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_config(parser=PARSER):
 """Get configs singleton for parser """

    parser_class = PARSERS[parser]
    _check_parser(parser_class, parser)
    return parser_class.instance()