How to Check Node Existing in scripting?

Hello,
How to Check Node Existing in scripting? Can not find command for this.