public bool AttributeExists(String attributeName) { // reach into storage and check return true; } }
public void SomeOperation() { if (query.AttributeExists("DeviceName")) { command.SetAttribute("DeviceName", "Rover, Curiousity"); } }