private boolean isPossibleModuleReference() {
    final PyCallExpression callExpression = as(myNode.getParent(), PyCallExpression.class);
    if (callExpression != null && myNode == callExpression.getCallee()) {
      final PyDecorator decorator = as(callExpression, PyDecorator.class);
      // getArgumentList() still returns empty (but not null) element in this case
      return decorator != null && !decorator.hasArgumentList();
    }
    if (myNode.getParent() instanceof PyArgumentList argumentList) {
      if (argumentList.getParent() instanceof PyClass pyClass) {
        if (pyClass.getSuperClassExpressionList() == argumentList) {
          return false;
        }
      }
    }
    return true;
  }
private boolean isPossibleModuleReference()