Aromatic compound has continuous cyclic structure with( 4n+2)π electrons (Huckels rule), where n = 0,1,2…
Here number of pi electron are 6, where 4 from two double bond and 2 from nitrogen non-bonding electrons, hence it has total 6 pi electrons, therefore
6= ( 4n+2)π
4 = 4n
n =1
Hence it is an aromatic compound