Check if federation service is enabled before querying for federation objects