The dataUrl function can return false or null