code: public static boolean isServiceEnabled(EntityManager em, Service service) {
          ServiceManagementRecord record = findServiceManagementRecord(em, service);
  
          return record == null ? true : record.isEnabled();
      }
docs: Determine a given service's enability.
  
  @param   em       The EntityManager to use.
  @param   service  The service for which to determine enability.
  
  @return  True or false depending on whether the service is enabled or disabled.