fix: Add back in eroneously removed pos-is-keyword function

Ripped out a funciton and list which were still being used. This
adds them back. Closes #8