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