def need_reconnect(event: events.Event) -> bool:
if event["<STR_LIT:type>"] in RECONNECT_EVENTS:<EOL><INDENT>return True<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT>
Check if RTM needs reconnecting

Args:
    event: Incoming :class:`slack.events.Event`

Returns:
    boolean