title: Check if app is running from startup in python
body: <p>I have made an application in python named <code>Swaminarayan.exe</code>. I wanted my program to start when my PC boots. So I created a shortcut named <code>Swaminarayan.lnk</code> and added it to:</p>
  <p><code>C:\Users\&lt;Current User&gt;\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\</code></p>
  <p>But my application behaves differently when the app is in <em>AUTO_START</em> and when Not in <em>AUTO_START</em>. How can I detect if my app is running from shortcut or not.</p>
  <p>Can I do something like this?</p>
  <pre class="lang-py prettyprint-override"><code>if AUTO_START:
      // do this
  else:
      // do that
  </code></pre>
  <p>Any help is appreciable. Thanks in advance :)</p>