getColorStateListOrNull

Returns the ColorStateList if it can be retrieved from the drawable, or null otherwise.

In particular: