Add GitHub url
Use Boolean() rather than !! to convert to boolean
Explicitly convert value to boolean
Remove duplicate code block that isn't needed
Add ellipsis to imply missing code