Create a function that accepts an object and filters, then returns true or false depending on if the object is a match