Solved conflict issues: isStringLiteral

I solved the conflicting issues. I wrote my isStringLiteral already. It
is probably more optimized than yours. Your isStringLiteral is
commented. Do take a look.