def METHOD_NAME(self, update: object) -> Optional[Union[bool, object]]:
    """
    This method is called to determine if an update should be handled by
    this handler instance. It should always be overridden.
    Note:
        Custom updates types can be handled by the application. Therefore, an implementation of
        this method should always check the type of :paramref:`update`.
    Args:
        update (:obj:`object` | :class:`telegram.Update`): The update to be tested.
    Returns:
        Either :obj:`None` or :obj:`False` if the update should not be handled. Otherwise an
        object that will be passed to :meth:`handle_update` and
        :meth:`collect_additional_context` when the update gets handled.
    """