Checking the variable when PR & not PR