Question: are lone pairs in p orbitals?
Answer: Quick shortcut: Lone pairs adjacent to pi-bonds (and pi-systems) tend to be in unhybridized p orbitals, rather than in hybridized spn orbitals. So when a nitrogen that you might expect to be trigonal pyramidal sp3 is adjacent to a pi bond, its hybridization is actually sp2 (trigonal planar).