private static function is_selector_software_type($id) { $yes = false; foreach (pts_types::test_profile_software_types() as $subsystem) { if (strtolower($subsystem) === $id && $subsystem != 'BaseTestProfile') { // virtual suite of all supported tests by a given SoftwareType $yes = $subsystem; break; } } return $yes; }