def list_instances(compute, project, zone):
    """ List Compute instances inside a zone.
    """
    result = compute.instances().list(project=project, zone=zone).execute()
    return result['items'] if 'items' in result else None
