Determine fresh instance loaded vs state


Is there a standard way to find out if a plugin is loaded from a project or is a fresh instance?

I have a user customisable init file which needs to be loaded on new instances. At the moment I’m thinking load the default in the audio constructor anyway before the state is accessed but wondered if there was a more elegant way to detect it?