src/Environaut/Report/Results/Settings/Setting.php
public function matchesGroup($groups = null)
    {
        if (null !== $groups) {
            $group_names = self::getGroupNames($groups);
            return in_array($this->group, $group_names);
        }

        return true;
    }
public function matchesGroup($groups = null)
    {
        if (null !== $groups) {
            $group_names = self::getGroupNames($groups);
            return in_array($this->group, $group_names);
        }

        return true;
    }
Determines whether this setting's group matches the given groups.

@param mixed $groups string or array with group names, default null matches always

@return boolean true when this setting's group matches the given groups