def validate(self):
if self.cpu_custom is not None and self.cpu_model:<EOL><INDENT>raise LagoInitException(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>)<EOL><DEDENT>
Validate CPU-related VM spec are compatible

Raises:
    :exc:`~LagoInitException`: if both 'cpu_model' and 'cpu_custom' are
        defined.