comefrom: <doocs>0572.Subtree of Another Tree_1.py
code: def dfs(root1, root2):
      if root1 is None and root2 is None:
          return True
      if root1 is None or root2 is None:
          return False
      return (
          root1.val == root2.val
          and dfs(root1.left, root2.left)
          and dfs(root1.right, root2.right)
      )
masked: def sample_funcname ( var_1 , var_2 ) :
      if var_1 is None and var_2 is None :
          return True
      if var_1 is None or var_2 is None :
          return False
      return ( var_1.val == var_2.val and var_0 ( var_1.left , var_2.left ) and var_0 ( var_1.right , var_2.right ) )
  