title: Python/Django: Are there any decorators to tell that input is not none?
body: <ul>
  <li>I am new to Django and come from Java/Spring background.  </li>
  <li>I am wondering if there are decorators something like following that can be done in Django or Python?  </li>
  </ul>
  
  <p><strong>Want</strong> </p>
  
  <pre><code>def addToList(@not_none a, @not_none b):
      # so that I do not check for nullity explicitly  
      do_things_with_a(a)
      do_things_with_b(b)
  </code></pre>
  
  <ul>
  <li>Since this is something which is pretty easy to get in Java, just looking if Python/Django has it</li>
  </ul>