def get_repository_dependency_types(repository_dependencies):
 has_repository_dependencies = False
 for rd_tup in repository_dependencies:
  (tool_shed, name, owner, changeset_revision, prior_installation_required, only_if_compiling_contained_td) = common_util.parse_repository_dependency_tuple(rd_tup)
  if (not util.asbool(only_if_compiling_contained_td)):
   has_repository_dependencies = True
   break
 has_repository_dependencies_only_if_compiling_contained_td = False
 for rd_tup in repository_dependencies:
  (tool_shed, name, owner, changeset_revision, prior_installation_required, only_if_compiling_contained_td) = common_util.parse_repository_dependency_tuple(rd_tup)
  if util.asbool(only_if_compiling_contained_td):
   has_repository_dependencies_only_if_compiling_contained_td = True
   break
 return (has_repository_dependencies, has_repository_dependencies_only_if_compiling_contained_td)

def get_repository_dependency_types ( repository_dependencies ) : has_repository_dependencies = False for rd_tup in repository_dependencies : ( tool_shed , name , owner , changeset_revision , prior_installation_required , only_if_compiling_contained_td ) = common_util . parse_repository_dependency_tuple ( rd_tup ) if ( not util . asbool ( only_if_compiling_contained_td ) ) : has_repository_dependencies = True break has_repository_dependencies_only_if_compiling_contained_td = False for rd_tup in repository_dependencies : ( tool_shed , name , owner , changeset_revision , prior_installation_required , only_if_compiling_contained_td ) = common_util . parse_repository_dependency_tuple ( rd_tup ) if util . asbool ( only_if_compiling_contained_td ) : has_repository_dependencies_only_if_compiling_contained_td = True break return ( has_repository_dependencies , has_repository_dependencies_only_if_compiling_contained_td )
inspect the received list of repository_dependencies tuples and return boolean values for has_repository_dependencies and has_repository_dependencies_only_if_compiling_contained_td .