With what you have currently, the isset will eval to true or false and then either way won't compare the  'dashboard_summary' string to the value of the $data string