@staticmethod
def _all_get_from_attrs(ptitem, name):
    """Gets an attribute `name` from `ptitem`, returns None if attribute does not exist."""
    try:
        return getattr(ptitem._v_attrs, name)
    except AttributeError:
        return None
