def is_valid_jsonp_callback_value(value):

    for identifier in value.split(u'.'):
        while '[' in identifier:
            if not has_valid_array_index(identifier):
                return False
            identifier = replace_array_index(u'', identifier)
        if not is_valid_javascript_identifier(identifier):
            return False

    return True

# ------------------------------------------------------------------------------
# test
# ------------------------------------------------------------------------------
ensure that no feed indicators are 'excluded' or blacklisted
dataset/ETHPy150Open dgraziotin/dycapo/piston/validate_jsonp.py/is_valid_jsonp_callback_value--crossover with--dataset/ETHPy150Open carbonblack/community/cb/alliance_feed_examples/query_feed_generator/cbfeeds/validate_feed.py/validate_against_include_exclude