def IsTryJobResultAtRevisionValid(result, revision):
  """Determines whether a try job's results are sufficient to be used.

  Args:
    result (dict): A dict expected to be in the format
        {
            'report': {
                'result': {
                    'revision': (dict)
                }
            }
        }
    revision (str): The revision to ensure is in the result dict.
  """
  return result and revision in result.get('report', {}).get('result', {})