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

Not enough how? You can’t possible package standalone runtime for distribution WITH_EDITOR enabled. You gonna have to rewrite and fix a LOT of things. Not even mentioning you are not allowed to redistribute EDITOR stuff.
So it is more than enough.