Please prefer `isset()` to `in_array()`. Much quicker. You'll just need to have excluded attributes as keys and `true` as a value.