def inroot_notwritable(prefix):
 return (abspath(prefix).startswith(context.root_dir) and (not context.root_writable))

def inroot_notwritable ( prefix ) : return ( abspath ( prefix ) . startswith ( context . root_dir ) and ( not context . root_writable ) )
return true if the prefix is under root and root is not writeable .