Test if JuceApplication has Focus

it’s a static method, you should be able to call it from anywhere.

static bool Process::isForegroundProcess ( )  throw () [static]