Add isset to prevent unit tests from failing