Could you explain the grammar of this sentence?:
...my own father would have drowned himself had it not been for my mother's prayers and faith.
I didn't understand the construction of this sentence. The tense in bold and its relation to the tense before. It seem like conditional but there is no if is there an idiom here.