I have a Python toolbox in Pro that contains several tools that have a GPFeatureLayer as an input. I'd like to be able to run the tool on just the selected features if any are selected, or on the whole feature class if none are selected. Is the best way to use getSelectionSet to see if any features are selected, then do a query for those features with the right objectid values?