can a wire be attracted to magnets?