-> Returns True if expr is a literal, else False.