Allows to call the `validate` method statically