public boolean getShouldCacheLayout() {
    return mShouldCacheLayout;
  }
Returns whether the TextLayoutBuilder should cache the layout.

@return Whether the TextLayoutBuilder should cache the layout
library/src/main/java/com/facebook/fbui/textlayoutbuilder/TextLayoutBuilder.java