Modified pure literal check