def METHOD_NAME(request, function_product, target_sat):
    """Verify hammer disable defaults command.
    :id: d0b65f36-b91f-4f2f-aaf8-8afda3e23708
    :steps:
        1. Add hammer defaults as organization-id.
        2. Verify hammer product list successful.
        3. Run hammer --no-use-defaults product list.
    :expectedresults: Hammer --no-use-defaults product list should fail.
    :BZ: 1640644, 1368173
    """
    target_sat.cli.Defaults.add(
        {'param-name': 'organization_id', 'param-value': function_product.organization.id}
    )
    # list templates for BZ#1368173
    result = target_sat.execute('hammer job-template list')
    assert result.status == 0
    # Verify --organization-id is not required to pass if defaults are set
    result = target_sat.execute('hammer product list')
    assert result.status == 0
    # Verify product list fail without using defaults
    result = target_sat.execute('hammer --no-use-defaults product list')
    assert result.status != 0
    assert function_product.name not in result.stdout
    # Verify --organization-id is not required to pass if defaults are set
    result = target_sat.execute('hammer --use-defaults product list')
    assert result.status == 0
    assert function_product.name in result.stdout
    @request.addfinalizer
    def _finalize():
        target_sat.cli.Defaults.delete({'param-name': 'organization_id'})
        result = target_sat.execute('hammer defaults list')
        assert str(function_product.organization.id) not in result.stdout