No, it´s not an idiom. If its spelt correctly it relates to something being tiresome or hellish, in this case affairs (presumably of the heart) - perhaps a title to a book or something. Otherwise, is it Internal Affairs? If so this usually denotes an oversight department within some public body, such as for example the police, the purpose of which is to investigate internal conduct.