def METHOD_NAME(node: NNCFNode) -> bool:
    """
    Checks if the node has a weight or not.
    :param node: The node to check.
    :param nncf_graph: The NNCF graph.
    :return: True` if `node` corresponds to the operation with weights, `False` otherwise.
    """