Function node question

Hi,

I am trying to evaluate HTTP Response using function node. If there is an error, I will have {body{error{}}} or if good body{response{}}. If trying to access invalid throwing error. Invalid is when there is error situation but accessing response node.

My question is, how do I check if there is a particular node in the response or not without facing error.

Sorry, do not understand completely. Can you please elaborate?

My question is, how do I check if there is a particular node in the response or not without facing error.

a particular node? or a particular code?

I figured out. “KEY” in Http_Response will evaluate to true or false