added hasStatus method