def versions_match(versions):
    """Check if the versions are the same"""
    base = None
    for name in versions:
        if base is None:
            base = versions[name]
        elif base != versions[name]:
            return False
    return True