@Contract("null -> false")
  private static boolean isImplicitlyInvokedMethod(@Nullable PyAstCallable resolvedCallee) {
    if (PyUtilCore.isInitOrNewMethod(resolvedCallee)) return true;

    if (resolvedCallee instanceof PyAstFunction function) {
      return PyNames.CALL.equals(function.getName()) && function.getContainingClass() != null;
    }

    return false;
  }
@Contract("null -> false")
  private static boolean isImplicitlyInvokedMethod(@Nullable PyAstCallable resolvedCallee)