You can measure ammonia (and nitrite and nitrate) and see if gets "cycled", i.e. ammonia -> nitrite -> nitrate by bacteria. Depending on how you cycle a tank, you can either measure ammonia that you added directly to the tank or after adding fish food. It really kinda depends on what method...