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