how to check if a string is composed only of alphanumeric in python

Solutions on MaxInterview for how to check if a string is composed only of alphanumeric in python by the best coders in the world