public boolean isEmpty() { return (height == 0); }
Remark. An equivalent definition is
public boolean isEmpty() { if(height == 0) return true; else return false; }