def METHOD_NAME(self, attr_name):
    """Check whether the operator has additional attribute.
    Parameters
    ----------
    attr_name : str
        The attribute name.
    Returns
    -------
    value : bool
        Whether the operator has additional attribute
    """
    return _ffi_api.OpHasAttr(self, attr_name)