title: Making an assert statement in comments
body: <p>PyCharm does not know how to infer types from the code you type in unless its all pure python. So, I wanted to ask, is there any way to let the code sniffer know this:</p>
  
  <pre><code>assert isinstance(object, str)
  </code></pre>
  
  <p>In the comments, instead of actually writing it in the code?</p>