Simple method to determine if we are running in a node environment