code: def is_arabicword(word):
      """Checks for an valid Arabic  word.
      An Arabic word not contains spaces, digits and pounctuation
      avoid some spelling error,  TEH_MARBUTA must be at the end.
      @param word: input word
      @type word: unicode
      @return: True if all charaters are in Arabic block
      @rtype: Boolean
      """
      if len(word) == 0:
          return False
      elif re.search(
          "([^\u0600-\u0652%s%s%s])"
          % (LAM_ALEF, LAM_ALEF_HAMZA_ABOVE, LAM_ALEF_MADDA_ABOVE),
          word,
      ):
          return False
      elif is_haraka(word[0]) or word[0] in (WAW_HAMZA, YEH_HAMZA):
          return False
      # if Teh Marbuta or Alef_Maksura not in the end
      elif re.match("^(.)*[%s](.)+$" % ALEF_MAKSURA, word):
          return False
      elif re.match(
          "^(.)*[%s]([^%s%s%s])(.)+$"
          % (TEH_MARBUTA, DAMMA, KASRA, FATHA),
          word,
      ):
          return False
      else:
          return True
  
imports: import re
  from cltk.phonology.arb.utils.pyarabic import stack
label_desc: Use image node_id 26 for calling a global function with example usage: is_arabicword(word) and returns: False, False, False, False, False, True