def is_target_available(conda_target, conda_context=None, channels_override=None):
 (best_hit, exact) = best_search_result(conda_target, conda_context, channels_override)
 if best_hit:
  return ('exact' if exact else True)
 else:
  return False

def is_target_available ( conda_target , conda_context = None , channels_override = None ) : ( best_hit , exact ) = best_search_result ( conda_target , conda_context , channels_override ) if best_hit : return ( 'exact' if exact else True ) else : return False
check if a specified target is available for installation .