@Tammy1998 Go through this linl: How to Check if A JSON Object Contains A Certain Key? - #3 by whyyouandi
Regards Shanmukh