created function mock for check shareable path