def check_is_left(name):
 (lhs, rhs) = _split_left_right(name)
 if lhs.endswith(u'/1'):
  return True
 elif rhs.startswith(u'1:'):
  return True
 elif rhs.endswith(u'/1'):
  return True
 return False

def check_is_left ( name ) : ( lhs , rhs ) = _split_left_right ( name ) if lhs . endswith ( u'/1' ) : return True elif rhs . startswith ( u'1:' ) : return True elif rhs . endswith ( u'/1' ) : return True return False
check if the name belongs to a left sequence .