def event_is_virtual(event):
    """ Determine if event is virtual. Produces a boolean."""

    return 'location' in event and \
      '@type' in event['location'] and \
      event['location']['@type'] == "VirtualLocation"