Court decides whether Hamilton dogs with history of attacks should be put down