There are signs you can use to diagnose this issue, most notably a slow start or electronics that work until you try to start the engine. If you want to know for sure, you should bring it to your local AutoZone for a free battery test.