Support REAL_TARGET_DEVICE in is_asked method of context.