def METHOD_NAME(self):
    """
    A method that should contain all the validation logic
    for both container recipe (Singularity, Dockerfile, ...) and
    image generation.
    """
    if self.container_build_image:
        self.validate_tools()