How to make a list appear only if there are API result values?

I am trying to figure out how to make an option list on the catalog ONLY appear, if there are Resource Pools. I am using the Morpheus API (not REST), and selecting Resource Pool as the target object. Some of our clouds do not use a resource pool (the default pool to be technically correct). But other clouds do have 1 or more resource pools. The Catalog JSON has a resource pool id field in it, so I am confused as to how to make this work.

Might be able to do a visibility filter to be something like:
<%=customOpions.resourcePoolFieldName.size() %> > 1

Unfortunately not at my system to confirm at the moment.