use sesame to check if a given value is a literal