Thanks to the `depends_on :python` this becomes just:
```ruby
def caveats
  python.standard_caveats if python
end
```