def layer_subtype_qa(flags):
    """
    Returns the layer subtype quality flag, as identified from the feature
    classification flag
    """
    # subtype qa flag : bit 13
    return (flags & 4096) >> 12