def _are_dependencies_handled(file_descriptor,
                              dependencies):
  """Returns True iff dependencies of descriptor are in dependencies."""
  for dependency in file_descriptor.dependencies:
    if dependency not in dependencies:
      return False
  return True