parameters: (path_or_helper)
return_statement: return path_or_helper
docstring: Creates an ApkHelper unless one is already given.
docstring_summary: Creates an ApkHelper unless one is already given.
docstring_tokens: Creates an ApkHelper unless one is already given .
function: def ToHelper(path_or_helper):
    """Creates an ApkHelper unless one is already given."""
    if isinstance(path_or_helper, basestring):
      return ApkHelper(path_or_helper)
    return path_or_helper
function_tokens: def ToHelper ( path_or_helper ) : if isinstance ( path_or_helper , basestring ) : return ApkHelper ( path_or_helper ) return path_or_helper