you need to do

```rst
.. code-block:: python

   if awesome_code.will_run():
       # stuff