Added convenient method to check for gradient opacity

Change-Id: I93fd12cb7d56ecd33f342164c603cefef51fb569