public static boolean depends(@NotNull final PyElement o1, @NotNull final PyElement o2) {
    var uuid2 = o2.getCopyableUserData(UUID_KEY);
    if (uuid2 != null) {
      var dependencies = o1.getCopyableUserData(DEPENDENCIES_KEY);
      if (dependencies != null) {
        return dependencies.contains(uuid2);
      }
    }

    final DependencyVisitor visitor = new DependencyVisitor(o2);
    o1.accept(visitor);
    return visitor.isDependencyFound();
  }
public static boolean depends(@NotNull final PyElement o1, @NotNull final PyElement o2)