isStatus method

bool isStatus(
  1. int status
)

Returns true if this status is equals parameter status.

Implementation

bool isStatus(int status) {
  return this.status == status;
}