arcpy function to test for selected features

Discussion created by jjohnson98 on May 18, 2011
Latest reply on Nov 18, 2013 by csny490

I am searching for a function that would return a Boolean value if there are selected features in an mxd.

I know you can use arcpy.SelectLayerByAttribute_management(Layer, "CLEAR_SELECTION") to clear selections for a layer but I don't want to clear just test.  The maps were exported to pdf and may have the selected features showing on the pdf docs.  I need a function to  test which mxd's have selected features and I've got about 1600 maps.

Any help would be appreciated.