code: def isHcl(s):
      '''
          Detects whether a string is JSON or HCL
          
          :param s: String that may contain HCL or JSON
          
          :returns: True if HCL, False if JSON, raises ValueError
                    if neither
      '''
      for c in s:
          if c.isspace():
              continue
  
          if c == '{':
              return False
          else:
              return True
  
      raise ValueError("No HCL object could be decoded"f isHcl(s):
      '''
          Detects whether a string is JSON or HCL
          
          :param s: String that may contain HCL or JSON
          
          :returns: True if HCL, False if JSON, raises ValueError
                    if neither
      '''
      for c in s:
          if c.isspace():
              continue
  
          if c == '{':
              return False
          else:
              return True
  
      raise ValueError("No HCL object could be decoded")
docs: Detects whether a string is JSON or HCL
          
          :param s: String that may contain HCL or JSON
          
          :returns: True if HCL, False if JSON, raises ValueError
                    if neither