Check if Blueprint is being run within the editor (i.e if WITH_EDITOR in C++)

Super Clean! Awesome - thanks