Where it becomes necessary to consider whether a state is depriving, or attempting to deprive, a litigant of property without due process of law in violation of the Fourteenth Amendment, and the question turns on the existence and terms of an asserted contract, this court determines for itself whether there is a contract and what are its terms.