public function validateSequentialArray(array $data, $prettyName = 'This value')
    {
        //if the array has to have keys that are both numeric AND sequential
        if (!empty($data) && array_keys($data) !== range(0, count($data) - 1)) {
            throw new DataValidationException(sprintf('%s is an array but it is not sequential', $prettyName));
        }
    }