def valid_version(version):
    """Return true if the **version** has the format 'x.x.x' with integers `x`"""
    try:
        numbers = [int(part) for part in version.split('.')]
    except ValueError:
        return False
    if len(numbers) == 3:
        return True
    else:
        return False