Adding array_whitelist() and array_blacklist() functions
check if a value is whitelisted or blacklisted
useful for double checking url parameters like filters & sorts