If And Inquired in the WEB
2 verses of the World English Bible have both "if" and "inquired".
1 Samuel 30:8 David inquired of the LORD, saying, “If I pursue after this troop, will I overtake them?” He answered him, “Pursue, for you will surely overtake them, and will without fail recover all.”
2 Samuel 16:23 The counsel of Ahithophel, which he gave in those days, was as if a man inquired at the inner sanctuary of God. All the counsel of Ahithophel was like this both with David and with Absalom.