glib2: return boolean for checking_for

Because checking_for expects boolean.