code: @TargetApi(Build.VERSION_CODES.KITKAT)
      private boolean isStatusBarTranslucent() {
          TypedValue typedValue = new TypedValue();
          int[] attribute = new int[]{android.R.attr.windowTranslucentStatus};
          TypedArray array = mHoldingActivity.obtainStyledAttributes(typedValue.resourceId, attribute);
          boolean isStatusBarTranslucent = array.getBoolean(0, false);
          array.recycle();
          return isStatusBarTranslucent;
      }
docs: Used to check if the status bar is translucent.
  
  @return true if the status bar is translucent.