Model validations in a lifecycle hook like beforeUpdate

I have a similar situation where I want to validate the object myself before performing some other task.