I want to check a dynamic number of properties in an array of objects. I first thought of using an if statement, but then I figured the .reduce() function would
.reduce()