def _IsInstallationCorruption(err):
    'Determines if the error may be from installation corruption.\n\n  Args:\n    err: Exception err.\n\n  Returns:\n    bool, True if installation error, False otherwise\n  '
    return (isinstance(err, backend.CommandLoadFailure) and isinstance(err.root_exception, ImportError))
Determines if the error may be from installation corruption.

Args:
  err: Exception err.

Returns:
  bool, True if installation error, False otherwise
def _IsInstallationCorruption(err):
    'Determines if the error may be from installation corruption.\n\n  Args:\n    err: Exception err.\n\n  Returns:\n    bool, True if installation error, False otherwise\n  '
    return (isinstance(err, backend.CommandLoadFailure) and isinstance(err.root_exception, ImportError))