Usually last about 5 so very probable. You might be able to rent a tester from
autozone, but you can easily remove the battery from the car and just take it to get tested. But even if it was the alternator, you might be better off replacing the battery and this point anyway.