code: private boolean isInstanceTagged(Instance currInstance) {
          List<Tag> tags = currInstance.getTags();
          if (settings.getValidTagKey().isEmpty())
              return false;
  
          for (Tag currTag : tags) {
              for (String tagKey : settings.getValidTagKey()) {
                  if (currTag.getKey().equals(tagKey))
                      return true;
              }
          }
          return false;
      }
docs: /* If the instance is tagged with correct