Is there a way to loop through 2D List of WebElements?

I’ve figured out how to do that

`public class GetChildNodeFromList {
@Keyword
def GetChildNode(TestObject to, String role) {
List<WebElement> users = WebUiBuiltInKeywords.findWebElements(to, 30)

	//print users[0].getProperties()["text"]
	
	for (user in users) {
		if (user.getProperties()["text"].split()[1] == role) {
			user.click()
			break
		}
	}
	
}

}`