parameters: (v)
return_statement: return hasattr(v, '_variable_list') or hasattr(v, '_variables')
docstring: Returns True if `v` is either a PartionedVariable or a ShardedVariable.
docstring_summary: Returns True if `v` is either a PartionedVariable or a ShardedVariable.
docstring_tokens: Returns True if v is either a PartionedVariable or a ShardedVariable .
function: def is_split_variable(v):
    """Returns True if `v` is either a PartionedVariable or a ShardedVariable."""
    return hasattr(v, '_variable_list') or hasattr(v, '_variables')
function_tokens: def is_split_variable ( v ) : return hasattr ( v , '_variable_list' ) or hasattr ( v , '_variables' )