(MODULES-1329) Allow member to look for array

Currently, member allows one to only find if a variable is member of an array.
Sometimes it is usefull to find if an array is member of a bigger array for validation purpose.