In_array alternative for Solidity?

Basically i want to make exceptions for like 5 addresses.

I would store the addresses in
ourArray= [address1, address2,...address5]

And then just check
if(in_array(_requestAddress, ourArray)) { "ok exception met" }

What's the best alternative to do so in Solidity?
I want the addresses to be changeable.
Should i just create 5 variables for each address and then check
if(_requestAddress == address1 || _requestAddress == address2 || ..... || _requestAddress == address5) { "exception met" }

Check out EnumerateSet

Thank you this was exactly what i was looking for i was quite sure it was there but couldn't remember what it's called