import re


def barcode_is_10xgenomics(s):
    """
    Check if sample sheet barcode is 10xGenomics sample set ID

    10xGenomics sample set IDs of the form e.g. 'SI-P03-C9' or
    'SI-GA-B3' are also considered to be valid.

    Arguments:
      s (str): barcode sequence to validate

    Returns:
      Boolean: True if barcode is 10xGenomics sample set ID,
        False if not.

    """
    return bool(re.match(r'^SI\-[A-Z0-9]+\-[A-Z0-9]+$',s))