I’ve no experience with this but having done some clicking around, I found that you can cast to the modifier names (see below). Though, I haven’t worked out how to use these nodes.
Hopefully, you can make some sense of this.