Explain on prepared queries should return error in plan upon failure

if (plan.isHasError()) is enough

isHasError sounds weird. Should be hasError only?  I think its an existing method, but can we change its name.