parameters: (path)
return_statement: return os.path.exists(os.path.join(path, '.git'))
docstring: Returns true if the path represents a git checkout.
docstring_summary: Returns true if the path represents a git checkout.
docstring_tokens: Returns true if the path represents a git checkout .
function: def is_checkout(path):
    """ Returns true if the path represents a git checkout. """
    return os.path.exists(os.path.join(path, '.git'))
function_tokens: def is_checkout ( path ) : return os . path . exists ( os . path . join ( path , '.git' ) )