How would you know if you have neck weakness?

Test yourself. If you mean muscular weakness you can test yourself. See how long you can hold your head up while laying flat on your stomach or back. Or you could ask your physician to test your neck strength.