add validSelections() method

Authored by brauch on Jul 19 2017, 10:06 AM.