class RuboCop::AST::Node

def parenthesized_call?

def parenthesized_call?
  loc.respond_to?(:begin) && loc.begin&.is?('(')
end