pub fn is_insight_not_enabled_exception(&self) -> bool {
        matches!(
            &self.kind,
            GetInsightSelectorsErrorKind::InsightNotEnabledException(_)
        )
    }
/// Returns `true` if the error kind is `GetInsightSelectorsErrorKind::InsightNotEnabledException`.
Returns `true` if the error kind is `GetInsightSelectorsErrorKind::InsightNotEnabledException`.
Returns ` true ` if the error kind is ` GetInsightSelectorsErrorKind :: InsightNotEnabledException ` .
pub fn is_insight_not_enabled_exception(&self) -> bool {
        matches!(
            &self.kind,
            GetInsightSelectorsErrorKind::InsightNotEnabledException(_)
        )
    }
pub fn is_insight_not_enabled_exception ( & self ) -> bool { matches ! ( self kind GetInsightSelectorsErrorKind InsightNotEnabledException ( ) ) }
Returns `true` if the error kind is `GetInsightSelectorsErrorKind::InsightNotEnabledException`.
Returns ` true ` if the error kind is ` GetInsightSelectorsErrorKind :: InsightNotEnabledException ` .
&self
&self