Is that the right way of putting it?

I am using a partial like this:

{{ partial:summary prefix="artists" }}

and passing of that 'prefix' through as a variable.

So in the template I want to use the same partial again and again - but just alter the prefix used in the fieldsets, so in that 'summary.html' partial I'm aiming to do something like this:

  {{ if {{prefix}}__summary }}
        {{{{prefix}}__summary}}
         {{ else }}
      {{# No summary exists #}}
  {{ endif }}

I've spotted a few other posts on the forum asking similar questions but more complex questions. Am I missing some basic part of Antlers here?

Thanks in advance!