comefrom: <doocs>0545.Boundary of Binary Tree_1.py
code: def is_leaf( node) -> bool:
      return node and node.left is None and node.right is None
masked: def sample_funcname ( var_0 ) -> bool :
      return var_0 and var_0.left is None and var_0.right is None
  