determine if the given represents quadratic function