in a pressure cooker add lentil,chilly powder,turmeric powder ,salt and sufficient water.
after one or two whistles switch off the stove.let the pressure goes naturally(dal should be cooked well).
open the pressure cooker lid and slightly mash cooked lentil.then add chopped spinach in to it mix well.
cook for few minutes.do not over cook spinach.
grind coconut, shallot and cumin seed together and make a fine paste.
add little water in to it mix well and add this to cooked lentil and spinach.the curry should not be too thick or too watery so add more water if required (add warm water).check salt consistency add if needed.
stir well,let it boil.once the curry boil well stir gently and remove from fire.
heat oil in a pan splutter mustard seeds,add curry leaves,saute for few minutes.add this to the gravy.