drank some milk and my stomach feels bad. am I lactose intolerant?,

I drank some milk just now (half of one gallon) and now my stomach hurts. could this be a sign of lactose intolerance? it was whole milk if that matters