parameters: (node)
return_statement: return isinstance(node, allowed_types)
docstring: Determine whether this node represents a string.
docstring_summary: Determine whether this node represents a string.
docstring_tokens: Determine whether this node represents a string .
function: def _is_ast_str(node):
    """Determine whether this node represents a string."""
    allowed_types = [ast.Str]
    if hasattr(ast, "Bytes"):
      allowed_types += [ast.Bytes]
    if hasattr(ast, "JoinedStr"):
      allowed_types += [ast.JoinedStr]
    if hasattr(ast, "FormattedValue"):
      allowed_types += [ast.FormattedValue]
    return isinstance(node, allowed_types)
function_tokens: def _is_ast_str ( node ) : allowed_types = [ ast . Str ] if hasattr ( ast , "Bytes" ) : allowed_types += [ ast . Bytes ] if hasattr ( ast , "JoinedStr" ) : allowed_types += [ ast . JoinedStr ] if hasattr ( ast , "FormattedValue" ) : allowed_types += [ ast . FormattedValue ] return isinstance ( node , allowed_types )