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