code: def from_cmd(command_result):
      return LintResult(command_result.returncode == 0)
  
imports: import fnmatch
  import gzip
  import os
  from pathlib import Path
  import click
  from .command import Bash, Command, default_bin
  from ..compat import _get_module
  from .cmake import CMake
  from .git import git
  from .logger import logger
  from ..lang.cpp import CppCMakeDefinition, CppConfiguration
  from ..lang.python import Autopep8, Flake8, CythonLint, NumpyDoc, PythonCommand
  from .rat import Rat, exclusion_from_globs
  from .tmpdir import tmpdir
label_desc: Use image node_id 3 for calling the LintResult obj's underlying member method code with example usage: obj.from_cmd(command_result) and returns: LintResult