Returns true if this code equals to passed code, otherwise false.
code
bool equalsByCode(final int code) => this.code == code;