added simple method which checks if the current tokens value is a reserved word