Is 5,007 Prime?

No

5007  = 31*16691