def cmpDocstringDisplayName(lhs, rhs):
    """Returns True if the display names are the same"""
    if lhs is None and rhs is None:
        return True
    if lhs is None or rhs is None:
        return False
    return lhs.text == rhs.text
