original_docstring: Check the xpath-node whether is primary-key.
      Args:
          node: The xpath-node's root.
      Returns:
          A bool.
      
docstring: Check the xpath-node whether is primary-key.
docstring_tokens: Check the xpath - node whether is primary - key .
code: def check_is_key(node):
      """Check the xpath-node whether is primary-key.
      Args:
          node: The xpath-node's root.
      Returns:
          A bool.
      """
      parent_stmt = node.parent
      key_stmt = parent_stmt.search_one("key")
      if key_stmt:
          a = node.arg in [name.strip() for name in key_stmt.arg.split() if name.strip()]
          return node.arg in [name.strip() for name in key_stmt.arg.split() if name.strip()]
      return False
code_tokens: def check_is_key ( node ) : parent_stmt = node . parent key_stmt = parent_stmt . search_one ( "key" ) if key_stmt : a = node . arg in [ name . strip ( ) for name in key_stmt . arg . split ( ) if name . strip ( ) ] return node . arg in [ name . strip ( ) for name in key_stmt . arg . split ( ) if name . strip ( ) ] return False
short_docstring: Check the xpath-node whether is primary-key.
short_docstring_tokens: Check the xpath - node whether is primary - key .
comment: """Check the xpath-node whether is primary-key.
      Args:
          node: The xpath-node's root.
      Returns:
          A bool.
      """