Fix helper methods
Replace isset - array_key_exists