def _ValidateRepoToDepPathConfig(repo_to_dep_path):
  """Checks that the repo_to_dep_path is properly formatted.

  Args:
    repo_to_dep_path (dict): A dictionary mapping repository url to its
      chromium repo path.
      For example:
      {
          "https://boringssl.googlesource.com/boringssl.git":
              "src/third_party/boringssl/src",
          "https://chromium.googlesource.com/android_ndk.git":
              "src/third_party/android_ndk",
          "https://chromium.googlesource.com/angle/angle.git":
              "src/third_party/angle",
          ...
      }

  Returns:
    True if ``repo_to_dep_path`` is properly formatted, False otherwise.
  """
  if not isinstance(repo_to_dep_path, dict):
    return False

  return True