def METHOD_NAME(self, ignore_errors: bool = True, **kwargs: t.Any) -> str | None:
    """Return the hash for this node based on its attributes.
    :param ignore_errors: return ``None`` on ``aiida.common.exceptions.HashingError`` (logging the exception)
    """
    if not self._node.is_stored:
        raise exceptions.InvalidOperation('You can get the hash only after having stored the node')
    return self._get_hash(ignore_errors=ignore_errors, **kwargs)