In spite of not having an umbrella, I walked home in the rain.<br/>Is "having" a gerund functioning as a noun- an object of preposition "in spite of"?