public function mbox_exists($name){
    if ( $this->is_connected() && !empty($name) ){
      $names = $this->get_all_names_mboxes();
      if ( !empty($names) && \in_array($name, $names) ){
        return true;
      }
    }
    return false;
  }