A finite procedure for determining if a quadratic form is bounded below on a closed polyhedral convex set