pub fn is_duplicate_error(err: &ParseError) -> bool
Return true if the error kind is a duplicate declaration.
true