When spaces are deliberately removed from a sentence like "'حطتخطاياهولوكانتمثلزبدالبحر" which is originally "'حطت خطاياه ولوكانت مثل زبد البحر", the function will return True
Thank you for your remark,
there is a problem to fix the max length of an arabic valid word, because we can have long words with only letters, and the length will be doubled if diacritics are added.
When spaces are deliberately removed from a sentence like "'حطتخطاياهولوكانتمثلزبدالبحر" which is originally "'حطت خطاياه ولوكانت مثل زبد البحر", the function will return True