Canonicalize Device.is_handleable() code