code: def extract_lookups_from_string(value):
      
      lookups = set()
      for match in LOOKUP_REGEX.finditer(value):
          groupdict = match.groupdict()
          raw = match.groups()[0]
          lookup_type = groupdict["type"]
          lookup_input = groupdict["input"]
          lookups.add(Lookup(lookup_type, lookup_input, raw))
      return lookups
docs: Extract any lookups within a string.
  
      Args:
          value (str): string value we're extracting lookups from
  
      Returns:
          list: list of :class:`stacker.lookups.Lookup` if any