def get_script_extension_property(value, is_bytes=False):
    """Get `SCX` property."""

    obj = unidata.ascii_script_extensions if is_bytes else unidata.unicode_script_extensions

    if value.startswith('^'):
        negated = value[1:]
        value = '^' + unidata.unicode_alias['script'].get(negated, negated)
    else:
        value = unidata.unicode_alias['script'].get(value, value)

    return obj[value]
def get_script_extension_property ( value , is_bytes = False ) : obj = unidata . ascii_script_extensions if is_bytes else unidata . unicode_script_extensions if value . startswith ( '^' ) : negated = value [ 1 : ] value = '^' + unidata . unicode_alias [ 'script' ] . get ( negated , negated ) else : value = unidata . unicode_alias [ 'script' ] . get ( value , value ) return obj [ value ]
Get `SCX` property.