public boolean isServiceVisible(String serviceName){
  return !CollectionUtils.isEmpty(hiddenServices) && !hiddenServices.contains(serviceName);
}

public boolean isServiceVisible ( String serviceName ) { return ! CollectionUtils . isEmpty ( hiddenServices ) && ! hiddenServices . contains ( serviceName ) ; }
returns true if the provided service name is not in the list of hidden services .
