please use the existing method `if (CASKeyDeviceSystemMajorVersion() >= 7)`