def METHOD_NAME(self):
    """Validate the project.
    :raise ValueError:
        Raised if the project does not exist.
    """
    if not self.project_exists():
        raise ValueError(
            'Create the project before generating project files.')