def METHOD_NAME():
    """
    Test if it returns False when list packages fails
    """
    mock = MagicMock(side_effect=CommandExecutionError)
    with patch.dict(bower.__salt__, {"bower.list": mock}):
        ret = bower.installed("underscore", "/path/to/project")
        expected = {
            "name": "underscore",
            "result": False,
            "comment": "Error looking up 'underscore': ",
            "changes": {},
        }
        assert ret == expected