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