public static boolean isMultiline(@Nullable PsiElement statement) {
    if (statement == null) {
      return false;
    } else {
      return statement.textContains('\n');
    }
  }
public static boolean isMultiline(@Nullable PsiElement statement)