how to check if string is in byte formate pythin

Solutions on MaxInterview for how to check if string is in byte formate pythin by the best coders in the world