def is_valid(self, node, lint_context):

        value = node['value']

        is_double_quoted = value[0] == '"'
        if not is_double_quoted:
            return True

        has_escaped_char = _special_char_matcher.search(value) is not None
        return has_escaped_char
Whether the specified node is valid.
dataset/ETHPy150Open Kuniwak/vint/vint/linting/policy/prohibit_unnecessary_double_quote.py/ProhibitUnnecessaryDoubleQuote.is_valid