Separate nil and empty checks into 2 helper functions
Merge branch 'master' of github.com:BrandonWLee/wisdomsun