Method to check if a value is an instance of Literal
Quote binary literals according to SQL:1999