Currently to filter a featureset returned by FeatureSetByPortalItem, you Filter the returned featureset. Could the filter be an optional parameter to the function call itself so that it doesn't have to query for _all_ data in that featureclass/table? Seems like it would be a performance win.