Determining the state of nitrification