The isolated form لِيَسْمَعُوا always tells us by itself whether the lām is Lam Kay or Lam al-Amr.Lam al-Amr: Desired Actions