src/sap.m/src/sap/m/HyphenationSupport.js
function shouldControlHyphenate(oControl) {
			var sHyphenationConfig = Core.getConfiguration().getHyphenation();
			if (sHyphenationConfig === 'disable') {
				return false;
			}

			if (oControl.getWrappingType() === WrappingType.Hyphenated && !oControl.getWrapping()) {
				Log.warning("[UI5 Hyphenation] The property wrappingType=Hyphenated will not take effect unless wrapping=true.", oControl.getId());
			}

			return oControl.getWrapping() && oControl.getWrappingType() === WrappingType.Hyphenated;
		}
function shouldControlHyphenate(oControl) {
			var sHyphenationConfig = Core.getConfiguration().getHyphenation();
			if (sHyphenationConfig === 'disable') {
				return false;
			}

			if (oControl.getWrappingType() === WrappingType.Hyphenated && !oControl.getWrapping()) {
				Log.warning("[UI5 Hyphenation] The property wrappingType=Hyphenated will not take effect unless wrapping=true.", oControl.getId());
			}

			return oControl.getWrapping() && oControl.getWrappingType() === WrappingType.Hyphenated;
		}
function shouldControlHyphenate ( oControl ) { var sHyphenationConfig = Core . getConfiguration ( ) . getHyphenation ( ) ; if ( sHyphenationConfig === 'disable' ) { return false ; } if ( oControl . getWrappingType ( ) === WrappingType . Hyphenated && ! oControl . getWrapping ( ) ) { Log . warning ( "[UI5 Hyphenation] The property wrappingType=Hyphenated will not take effect unless wrapping=true." , oControl . getId ( ) ) ; } return oControl . getWrapping ( ) && oControl . getWrappingType ( ) === WrappingType . Hyphenated ; }
Checks whether the control's text should be hyphenated.

@param {sap.m.IHyphenation} oControl The control to be checked
@returns {boolean} True if the control should hyphenate
@private
Checks whether the control s text should be hyphenated .