Checking if there is a preexisting rcfile with default options params

can you move the path to a variable and use it in the condition above?