Car cranks won’t start

Car cranks but won’t start. Tried jumping it and can hear the starter trying. My brother is thinking it’s the fuel pump. Any way to verify that it’s the fuel pump