class_docstr: This class is a wrapper for a Mail object's part and gives it more features.
  
  :param part: The mail part in a Mail object.
docstr: Checks if the given name is equal to the part's name.
  
  :param name: The name to look for.
  :returns: True if it is equal to the given name.
docstr_tok: ["Checks","if","the","given","name","is","equal","to","the","part","'s","name",".",":","param","name",":","The","name","to","look","for",".",":","returns",":","True","if","it","is","equal","to","the","given","name","."]
code: def has_equal_name(self, name: str) -> bool:
      """
      Checks if the given name is equal to the part's name.
  
      :param name: The name to look for.
      :returns: True if it is equal to the given name.
      """
      return self.part.get_filename() == name
  
imports: from __future__ import annotations
  import email
  import imaplib
  import os
  import re
  import ssl
  from typing import TYPE_CHECKING, Any, Iterable
  from airflow.exceptions import AirflowException
  from airflow.hooks.base import BaseHook
  from airflow.utils.log.logging_mixin import LoggingMixin
label_desc: Use image node_id 4 for calling the MailPart obj's underlying member method code with example usage: obj.has_equal_name(name) and returns: unknown