private static boolean hasParams(@NotNull InsertionContext context, @NotNull LookupElement item) {
    final PyFunction function = getFunction(item);
    return function != null && hasParams(context, function);
  }
private static boolean hasParams(@NotNull InsertionContext context, @NotNull LookupElement item)