code: @SuppressWarnings("OptionalUsedAsFieldOrParameterType")
    public List<Filter> instanceTagNamesToFilters() {
      return tagsUtils.getAwsTagNames().map(Stream::of).orElseGet(Stream::empty)
          .map(tagNames -> new Tuple<>(tagNames, tagsUtils.getInstanceTags()))
          .flatMap(namesAndTags -> namesAndTags.getVal2()
              .stream()
              .filter(tag -> namesAndTags.getVal1().contains(tag.getKey())))
          .map(tag -> new Filter("tag:" + tag.getKey(), Collections.singletonList(tag.getValue())))
          .collect(Collectors.toList());
    }
docs: Takes the list of configured tag names and compares it with tagsUtils on the ec2 instance.
  FilterUtils (tag:key=value) will be created for all matches.
  
  @return a list of filters for instances that share common tags with
  this instance.