public boolean hasValidator() {
    return validator != null;
  }
Determine whether or not a validator has been specified for this view.

@return true if this view has a validator
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewEntity.java