title: How to show/hide an action for some rows in Sonata Admin
body: <p>I am using Sonata Admin. Is it possible to have an action that is only displayed for some of the rows, but not other rows, all in the same list view?</p>
  
  <p>For example, suppose I have a User entity with an "active" field. I would like to show the "remove" action only for inactive users, not for active users. How can I do that?</p>