hasErrorsAndShowErrorMessage() {
			return false;
		}
Checks whether the given context sharing component is ready to be saved.
Displays UI error message in case there is an inconsistency within the variant: The 'restricted' option is selected, but no role was chosen.

@deprecated As of version 1.100
@returns {boolean} <code>true</code> if the component has errors, <code>false</code> if there are no errors