Is this function always safe?