canClusterScale() {
    if (
      !Object.keys(this.props.cluster).includes('status') ||
      this.props.cluster.status === null
    ) {
      // Cluster doesn't have status object yet.
      return false;
    }

    return true;
  }
// Determine whether the cluster can be scaled
Determine whether the cluster can be scaled
Determine whether the cluster can be scaled
canClusterScale() {
    if (
      !Object.keys(this.props.cluster).includes('status') ||
      this.props.cluster.status === null
    ) {
      return false;
    }
    return true;
  }
canClusterScale ( ) { if ( ! Object . keys ( this . props . cluster ) . includes ( 'status' ) || this . props . cluster . status === null ) { return false ; } return true ; }
Determine whether the cluster can be scaled
Determine whether the cluster can be scaled
// Cluster doesn't have status object yet.