code: public boolean matchMetadata(Fingerprint fp) {
      for (Tag tag : METADATA_TAGS) {
        if (!getTag(tag).equals(fp.getTag(tag))) {
          return false;
        }
      }
      return true;
    }
docs: Returns true if the serialized fingerprint matches the fingerprint in metadata.
  
  @param fp a parsed fingerprint object
  @return true if the given fingerprint matches the current fingerprint in metadata