module Jekyll::Utils

def has_liquid_construct?(content)

Returns true is the string contains sequences of `{%` or `{{`

Determine whether the given content string contains Liquid Tags or Variables
def has_liquid_construct?(content)
  return false if content.nil? || content.empty?
  content.include?("{%") || content.include?("{{")
end