private boolean componentHasBulkCommands(ComponentInfo component) {
    BulkCommandDefinition o = component.getBulkCommandDefinition();
    if (o == null) {
      return false;
    } else {
      return o.getDisplayName() != null && !o.getDisplayName().trim().isEmpty();
    }
  }
Determine if the component has bulk commands

@param component
         the component to generate the response from (not {@code null}).
@return boolean
ambari-server/src/main/java/org/apache/ambari/server/controller/StackServiceComponentResponse.java