BitmapDrawable hasBitmap and hasPaint methods.