Check property of JSON response in Postman

In the Tests section of any request you can check if the JSON response contains or doesn’t contain a specific property like this:

// Verify that header object is NOT returned
pm.test("Verify that header:{...} object is NOT returned", function () {

// Verify that data object is returned
pm.test("Verify that data:{...} object is returned", function () {

Easy as pie!