public boolean isDowngrade() {
    return this == DOWNGRADE;
  }
@return {@code true} if the direction is for downgrade.  Convenience instead
of equality checking.
ambari-server/src/main/java/org/apache/ambari/server/stack/upgrade/Direction.java