def is_funcvar(expr):
    assert isinstance(expr, string_types), "%s is not a string" % expr
    return re.match(r'^[A-Z]\d*$', expr) is not None
Parses a relative URL and splits it into its path and query string.
dataset/ETHPy150Open nltk/nltk/nltk/sem/logic.py/is_funcvar--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/api/taskqueue/taskqueue.py/_parse_relative_url