title: Get kwargs Inside Function
body: <p>If I have a python function like so:</p>
  
  <pre><code>def some_func(arg1, arg2, arg3=1, arg4=2):
  </code></pre>
  
  <p>Is there a way to determine which arguments were passed by keyword from inside the function?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>For those asking why I need this, I have no real reason, it came up in a conversation and curiosity got the better of me.</p>