def METHOD_NAME(obj, namespace=''):
    """
    Args:
      obj: 
      namespace: (Default value = '')
    Returns:
    """
    if not namespace or namespace + '::' in obj.name:
        removeNamespace(obj)
    else:
        addNamespace(obj, namespace)