The other day I had a small task to inspect return values of methods and if the following property exists then set it to empty array.