Made findImport method public to enable usage from outside

For another PR I'll reference as soon as I created it, I needed the findImport method to be public