I found this similar question How to check If the current app process is running within a queue environment in Laravel
But actually this is the opposite of what I want. I