code: public boolean getUseIntrinsicPadding() {
          Drawable drawable = getCurrentDrawable();
          if (drawable instanceof IntrinsicPaddingDrawable) {
              return ((IntrinsicPaddingDrawable) drawable).getUseIntrinsicPadding();
          } else {
              return false;
          }
      }
docs: Get whether the current drawable is using an intrinsic padding. The default is {@code true}.
  
  @return Whether the current drawable is using an intrinsic padding, or {@code false} if the
  drawable does not implement {@link IntrinsicPaddingDrawable}.