private boolean hasDividerBeforeFlexLine(int flexLineIndex){
  if (flexLineIndex < 0 || flexLineIndex >= mFlexLines.size()) {
    return false;
  }
  if (allFlexLinesAreDummyBefore(flexLineIndex)) {
    if (isMainAxisDirectionHorizontal(mFlexDirection)) {
      return (mShowDividerHorizontal & SHOW_DIVIDER_BEGINNING) != 0;
    }
 else {
      return (mShowDividerVertical & SHOW_DIVIDER_BEGINNING) != 0;
    }
  }
 else {
    if (isMainAxisDirectionHorizontal(mFlexDirection)) {
      return (mShowDividerHorizontal & SHOW_DIVIDER_MIDDLE) != 0;
    }
 else {
      return (mShowDividerVertical & SHOW_DIVIDER_MIDDLE) != 0;
    }
  }
}

private boolean hasDividerBeforeFlexLine ( int flexLineIndex ) { if ( flexLineIndex < 0 || flexLineIndex >= mFlexLines . size ( ) ) { return false ; } if ( allFlexLinesAreDummyBefore ( flexLineIndex ) ) { if ( isMainAxisDirectionHorizontal ( mFlexDirection ) ) { return ( mShowDividerHorizontal & SHOW_DIVIDER_BEGINNING ) != 0 ; } else { return ( mShowDividerVertical & SHOW_DIVIDER_BEGINNING ) != 0 ; } } else { if ( isMainAxisDirectionHorizontal ( mFlexDirection ) ) { return ( mShowDividerHorizontal & SHOW_DIVIDER_MIDDLE ) != 0 ; } else { return ( mShowDividerVertical & SHOW_DIVIDER_MIDDLE ) != 0 ; } } }
check if a divider is needed before the flex line whose index is passed as an argument .
