You can re-use your ``isNotBanned`` predicate here:
``Object.keys(setProperties).filter(isNotBanned).forEach(...)``