isPublishAvailable() {
			return Settings.getInstance().then(function(oSettings) {
				return (
					oSettings.getIsPublishAvailable() ||
					// if the flag is not given, publish should be available on ABAP systems (?) which are not productive systems
					!!(
						!oSettings.getIsProductiveSystem()
						// TODO this is pretty arbitrary, not sure what the intention here is
						&& oSettings.getSystem()
						&& oSettings.getClient()
					)
				);
			});
		}
Determines if the current runtime can publish flexibility content in the connected backend.

@returns {Promise<boolean>} Promise resolving with a flag if publishing is available

@private
@ui5-restricted