func IsInstanceTypeChangedError(err error) bool {
	if awserr, ok := err.(awserr.Error); ok {
		return strings.Contains(awserr.Message(), InstanceTypeChangedErrorMessage)
	}
	return false
}
func IsInstanceTypeChangedError(err error) bool {
	if awserr, ok := err.(awserr.Error); ok {
		return strings.Contains(awserr.Message(), InstanceTypeChangedErrorMessage)
	}
	return false
}
func IsInstanceTypeChangedError ( err error ) bool { if awserr , ok := err . ( awserr . Error ) ; ok { return strings . Contains ( awserr . Message ( ) , InstanceTypeChangedErrorMessage ) } return false }
// IsInstanceTypeChangedError returns true if the error when
// registering the container instance is because of instance type being
// changed
IsInstanceTypeChangedError returns true if the error when registering the container instance is because of instance type being changed