Returns true if string is valid json data: '{"book": "All The Places You'll Go"}' {{ if data | is_json }} true