Consider the polynomial function defined as:
$$P(x) = 2x^4 - 3x^3 + kx^2 + 6x - 1$$
If the polynomial has a root at $$x = 1$$, what is the value of the constant $$k$$?