def _MustBreakBefore(prev_token, cur_token):
 if prev_token.is_comment:
  return True
 if (cur_token.is_string and prev_token.is_string and IsSurroundedByBrackets(cur_token)):
  return True
 return pytree_utils.GetNodeAnnotation(cur_token.node, pytree_utils.Annotation.MUST_SPLIT, default=False)

def _MustBreakBefore ( prev_token , cur_token ) : if prev_token . is_comment : return True if ( cur_token . is_string and prev_token . is_string and IsSurroundedByBrackets ( cur_token ) ) : return True return pytree_utils . GetNodeAnnotation ( cur_token . node , pytree_utils . Annotation . MUST_SPLIT , default = False )
return true if a line break is required before the current token .