Cureus | Investigating the Impact of Epilepsy on Cognitive Function: A Narrative Review