comefrom: <doocs>1367.Linked List in Binary Tree_1.py
code: def dfs(head, root):
      if head is None:
          return True
      if root is None:
          return False
      if root.val != head.val:
          return False
      return dfs(head.next, root.left) or dfs(head.next, root.right)
masked: def sample_funcname ( var_1 , var_2 ) :
      if var_1 is None :
          return True
      if var_2 is None :
          return False
      if var_2.val != var_1.val :
          return False
      return var_0 ( var_1.next , var_2.left ) or var_0 ( var_1.next , var_2.right )
  