def get_entry_point(system_tags, entry_points=ENTRY_POINTS):
 entry_points = entry_points.keys()
 for tag in system_tags:
  if (tag in entry_points):
   return tag
 else:
  return 'osf'

def get_entry_point ( system_tags , entry_points = ENTRY_POINTS ) : entry_points = entry_points . keys ( ) for tag in system_tags : if ( tag in entry_points ) : return tag else : return 'osf'
given the user system_tags .