Add isType() method to Order class - TRUNK-4290

Follow up - TRUNK-4290