def METHOD_NAME(module) -> bool:
    """Check if the parameters of the module is all zeros.
    Args:
        module (nn.Module): The module to be checked.
    Returns:
        bool: Whether the parameters of the module is all zeros.
    """
    weight_data = module.weight.data
    is_weight_zero = weight_data.allclose(
        weight_data.new_zeros(weight_data.size()))
    if hasattr(module, 'bias') and module.bias is not None:
        bias_data = module.bias.data
        is_bias_zero = bias_data.allclose(
            bias_data.new_zeros(bias_data.size()))
    else:
        is_bias_zero = True
    return is_weight_zero and is_bias_zero