Simple function which determines if your code is running on a high DPR device or not