code: def raise_double_modal_error(verb_phrase_doc):
      
      prev_word = None
      for word in verb_phrase:
          if word.tag_ == 'MD' and prev_word.tag == 'MD':
              raise('DoubleModalError')
          prev_word = word
docs: A modal auxilary verb should not follow another modal auxilary verb