Add API for get_exposures_for_if. #1256
Pep8