def is_valid(name):
    """Check if a string is a valid architecture

    :param name: architecture name to validate

    :returns: True if @name is valid
    """

    return name in ALL
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/compute/arch.py/is_valid/original