Just how smart are plants?