def METHOD_NAME(client):
    """
    Checks retrieval of phase list and if the returned data is list.
    Does not test if the actual phases in the list are correct
    """
    resp = client.get("/mxcube/api/v0.1/diffractometer/phaselist")
    data = json.loads(resp.data)
    assert isinstance(data["current_phase"], list)