def check_available_except!(name, endpoint, intg)
      check_name_available!(name) unless name.nil? || intg.name_eql?(name)
      return if endpoint.nil? || intg.endpoint_eql?(endpoint)

      check_endpoint_available!(endpoint)
    end
def check_available_except!(name, endpoint, intg)
      check_name_available!(name) unless name.nil? || intg.name_eql?(name)
      return if endpoint.nil? || intg.endpoint_eql?(endpoint)

      check_endpoint_available!(endpoint)
    end
Checks that the specified name and endpoint are available for use by the
 specified integration.

 @param name [String] the name to check for
 @param endpoint [String] the endpoint to check for
 @param intg [Integration] the integration to ignore
 @raise [CommandError] if name or endpoint are already taken