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