protected function hasHeader(Part $part, $header)
    {
        if (count($part->getHeaders()) < 1) {
            return false;
        }

        return $part
            ->getHeaders()
            ->has($header);
    }