def is_title(result):
    """Returns true if the result is a title match."""
    for metadatum in result.metadata:
        if metadatum.name == "is_title":
            return metadatum.value == "true"
    return False