is_base64

privex.helpers.crypto.base.is_base64(sb: Union[str, bytes], urlsafe: bool = True)bool[source]

Returns True if sb appears to be a Base64 encoded string/bytes, otherwise False

Parameters
Return bool is_base64

True if data appears to be Base64, otherwise False