public static boolean isCalleeShortCut(@NotNull final PyCallExpression call,
                                         final FQNamesProvider @NotNull ... function) {
    final PyExpression callee = call.getCallee();
    if (callee == null) {
      return false;
    }

    final String callableName = callee.getName();

    return Arrays.stream(function).anyMatch(o -> getLastComponents(o).contains(callableName));
  }
public static boolean isCalleeShortCut(@NotNull final PyCallExpression call,
                                         final FQNamesProvider @NotNull ... function)