def _is_s3_notif(event):
    """
    Check if type is S3 notification

    :param event:
    :return: True/False
    """
    return (
        event.get("Records")
        and isinstance(event.get("Records"), list)
        and "s3" in event.get("Records")[0]
    )