Check if Message.priority is between 0 and 9