Determines if the supplied group or group(s) are found in both parameters.
When either parameter is '', '*', empty array, null or undefined, it means to match
everything and this function returns true.
Otherwise, it returns true only when a group name is found amongst both group parameters.
Determines if the supplied group or group(s) are found in both parameters. When either parameter is '', '*', empty array, null or undefined, it means to match everything and this function returns true. Otherwise, it returns true only when a group name is found amongst both group parameters.