fix: undefined check had incorrect return value
Merge pull request #42 from wellcaffeinated/patch-1

fix: undefined check had incorrect return value