public function hasMailbox(string $name): bool
    {
        $this->initMailboxNames();

        return isset($this->mailboxNames[$name]);
    }
public function hasMailbox(string $name): bool
    {
        $this->initMailboxNames();

        return isset($this->mailboxNames[$name]);
    }
public function hasMailbox ( string $ name ) : bool { $ this -> initMailboxNames ( ) ; return isset ( $ this -> mailboxNames [ $ name ] ) ; }
Check that a mailbox with the given name exists.

@param string $name Mailbox name

@return bool
Check that a mailbox with the given name exists .