Yes at first, this function was just supposed to return a boolean but I added more things so we didn't have to parse the yaml files one more time. I'll update the name and add some doc strings.