Does anyone know if there's a method to determine whether a module is executing in the context of a Pulumi run? My use case is that I'm writing a library that will be used both by Pulumi, as well as other non-Pulumi code. If it's being called from Pulumi I want to automatically wrap the output in an
Output.secret