def _has_medwall(model):
    """Check if structure has medial wall, which is when the model count is 
    equal to the number of vertices. Always false for non surface models
    """
    if ((model['type'] == 'CIFTI_MODEL_TYPE_SURFACE') and 
        (model['count'] == model['n_indices'])):
        return True
    else:
        return False