Sorry hadn't looked at your code fragment when I s...
# getting-started
h
Sorry hadn't looked at your code fragment when I suggested that, the null check is the way to go here