added method to ValueFunctionPlanner to check if the value for a given
state has been computed.